@atproto/api 0.7.4 → 0.9.0
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 +21 -0
- package/README.md +2 -2
- package/dist/client/index.d.ts +41 -37
- package/dist/client/lexicons.d.ts +113 -48
- package/dist/client/types/app/bsky/actor/createScene.d.ts +32 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/getPreferences.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +2 -2
- package/dist/client/types/app/bsky/actor/getProfiles.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/ref.d.ts +28 -0
- package/dist/client/types/app/bsky/actor/search.d.ts +22 -0
- package/dist/client/types/app/bsky/actor/searchActor.d.ts +22 -0
- package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +20 -0
- package/dist/client/types/app/bsky/actor/searchActors.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +20 -0
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +47 -0
- package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/describeFeedGenerator.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +28 -0
- package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getActorLikes.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getAuthorFeed.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getFeed.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerator.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerators.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getLikes.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getListFeed.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getPostThread.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getPosts.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getSavedFeeds.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getSuggestedFeeds.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getTimeline.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getVotes.d.ts +36 -0
- package/dist/client/types/app/bsky/feed/saveFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/searchPosts.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/setVote.d.ts +25 -0
- package/dist/client/types/app/bsky/feed/trend.d.ts +9 -0
- package/dist/client/types/app/bsky/feed/unbookmarkFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/unsaveFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/vote.d.ts +10 -0
- package/dist/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
- package/dist/client/types/app/bsky/graph/assertMember.d.ts +1 -0
- package/dist/client/types/app/bsky/graph/assertion.d.ts +10 -0
- package/dist/client/types/app/bsky/graph/confirmation.d.ts +11 -0
- package/dist/client/types/app/bsky/graph/defs.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getAssertions.d.ts +48 -0
- package/dist/client/types/app/bsky/graph/getBlocks.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getFollowers.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getList.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getListBlocks.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getListMutes.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getLists.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getMembers.d.ts +36 -0
- package/dist/client/types/app/bsky/graph/getMemberships.d.ts +36 -0
- package/dist/client/types/app/bsky/graph/getMutes.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/mute.d.ts +17 -0
- package/dist/client/types/app/bsky/graph/unmute.d.ts +17 -0
- package/dist/client/types/app/bsky/moderation/defs.d.ts +49 -0
- package/dist/client/types/app/bsky/moderation/getService.d.ts +16 -0
- package/dist/client/types/app/bsky/moderation/getServices.d.ts +19 -0
- package/dist/client/types/app/bsky/moderation/service.d.ts +17 -0
- package/dist/client/types/app/bsky/notification/getCount.d.ts +17 -0
- package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts +1 -1
- package/dist/client/types/app/bsky/notification/list.d.ts +35 -0
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +1 -1
- package/dist/client/types/app/bsky/system/actorScene.d.ts +1 -0
- package/dist/client/types/app/bsky/system/actorUser.d.ts +1 -0
- package/dist/client/types/app/bsky/system/declRef.d.ts +8 -0
- package/dist/client/types/app/bsky/system/declaration.d.ts +7 -0
- package/dist/client/types/app/bsky/unspecced/applyLabels.d.ts +18 -0
- package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/getTimelineSkeleton.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +1 -1
- package/dist/client/types/com/atproto/account/create.d.ts +41 -0
- package/dist/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
- package/dist/client/types/com/atproto/account/delete.d.ts +25 -0
- package/dist/client/types/com/atproto/account/get.d.ts +12 -0
- package/dist/client/types/com/atproto/account/requestDelete.d.ts +13 -0
- package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
- package/dist/client/types/com/atproto/account/resetPassword.d.ts +24 -0
- package/dist/client/types/com/atproto/admin/blob.d.ts +37 -0
- package/dist/client/types/com/atproto/admin/defs.d.ts +12 -2
- package/dist/client/types/com/atproto/admin/emitModerationEvent.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/getAccountInfo.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/getAccountInfos.d.ts +19 -0
- package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +29 -0
- package/dist/client/types/com/atproto/admin/getInviteCodes.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/getModerationEvent.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +28 -0
- package/dist/client/types/com/atproto/admin/getRecord.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/getRepo.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/getSubjectState.d.ts +26 -0
- package/dist/client/types/com/atproto/admin/getSubjectStatus.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/getUserAccountInfo.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/moderationAction.d.ts +60 -0
- package/dist/client/types/com/atproto/admin/moderationReport.d.ts +37 -0
- package/dist/client/types/com/atproto/admin/queryModerationEvents.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/queryModerationStatuses.d.ts +2 -1
- package/dist/client/types/com/atproto/admin/rebaseRepo.d.ts +24 -0
- package/dist/client/types/com/atproto/admin/record.d.ts +43 -0
- package/dist/client/types/com/atproto/admin/repo.d.ts +45 -0
- package/dist/client/types/com/atproto/admin/resolveModerationReports.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/reverseModerationAction.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/searchRepos.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/sendEmail.d.ts +1 -0
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +34 -0
- package/dist/client/types/com/atproto/admin/updateSubjectState.d.ts +32 -0
- package/dist/client/types/com/atproto/blob/upload.d.ts +19 -0
- package/dist/client/types/com/atproto/handle/resolve.d.ts +18 -0
- package/dist/client/types/com/atproto/handle/update.d.ts +17 -0
- package/dist/client/types/com/atproto/identity/resolveHandle.d.ts +1 -1
- package/dist/client/types/com/atproto/label/queryLabels.d.ts +1 -1
- package/dist/client/types/com/atproto/moderation/defs.d.ts +2 -1
- package/dist/client/types/com/atproto/repo/batchWrite.d.ts +46 -0
- package/dist/client/types/com/atproto/repo/describe.d.ts +22 -0
- package/dist/client/types/com/atproto/repo/describeRepo.d.ts +1 -1
- package/dist/client/types/com/atproto/repo/getRecord.d.ts +1 -1
- package/dist/client/types/com/atproto/repo/importRepo.d.ts +19 -0
- package/dist/client/types/com/atproto/repo/listRecords.d.ts +1 -1
- package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +24 -0
- package/dist/client/types/com/atproto/repo/recordRef.d.ts +8 -0
- package/dist/client/types/com/atproto/repo/repoRef.d.ts +7 -0
- package/dist/client/types/com/atproto/repo/uploadBlob.d.ts +1 -1
- package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +19 -0
- package/dist/client/types/com/atproto/report/create.d.ts +39 -0
- package/dist/client/types/com/atproto/report/reasonType.d.ts +3 -0
- package/dist/client/types/com/atproto/report/subject.d.ts +23 -0
- package/dist/client/types/com/atproto/server/createAccount.d.ts +2 -0
- package/dist/client/types/com/atproto/server/createAppPassword.d.ts +1 -1
- package/dist/client/types/com/atproto/server/deleteSession.d.ts +1 -1
- package/dist/client/types/com/atproto/server/describeServer.d.ts +2 -1
- package/dist/client/types/com/atproto/server/getAccountInviteCodes.d.ts +1 -1
- package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +27 -0
- package/dist/client/types/com/atproto/server/getSession.d.ts +1 -1
- package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +31 -0
- package/dist/client/types/com/atproto/server/listAppPasswords.d.ts +1 -1
- package/dist/client/types/com/atproto/server/refreshSession.d.ts +1 -1
- package/dist/client/types/com/atproto/server/requestAccountDelete.d.ts +1 -1
- package/dist/client/types/com/atproto/server/requestEmailConfirmation.d.ts +1 -1
- package/dist/client/types/com/atproto/server/requestEmailUpdate.d.ts +1 -1
- package/dist/client/types/com/atproto/session/create.d.ts +29 -0
- package/dist/client/types/com/atproto/session/delete.d.ts +13 -0
- package/dist/client/types/com/atproto/session/get.d.ts +18 -0
- package/dist/client/types/com/atproto/session/refresh.d.ts +24 -0
- package/dist/client/types/com/atproto/sync/getBlob.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getBlocks.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getCheckout.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +20 -0
- package/dist/client/types/com/atproto/sync/getCurrent.d.ts +22 -0
- package/dist/client/types/com/atproto/sync/getHead.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getLatestCommit.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getRecord.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getRepo.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getRoot.d.ts +21 -0
- package/dist/client/types/com/atproto/sync/importRepo.d.ts +16 -0
- package/dist/client/types/com/atproto/sync/listBlobs.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/listRepos.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +9 -0
- package/dist/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
- package/dist/client/types/com/atproto/temp/fetchLabels.d.ts +1 -1
- package/dist/client/types/com/atproto/temp/importRepo.d.ts +1 -1
- package/dist/client/types/com/atproto/temp/pushBlob.d.ts +1 -1
- package/dist/client/types/com/atproto/temp/requestPhoneVerification.d.ts +17 -0
- package/dist/client/types/com/atproto/temp/upgradeRepoVersion.d.ts +18 -0
- package/dist/index.js +535 -437
- package/dist/index.js.map +3 -3
- package/dist/moderation/types.d.ts +14 -14
- package/dist/rich-text/detection.d.ts +1 -1
- package/dist/rich-text/rich-text.d.ts +5 -5
- package/dist/session.d.ts +42 -0
- package/dist/src/client/index.d.ts +462 -0
- package/dist/src/client/lexicons.d.ts +2910 -0
- package/dist/src/client/schemas.d.ts +17 -0
- package/dist/src/client/types/app/bsky/actor/createScene.d.ts +32 -0
- package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +36 -0
- package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +36 -0
- package/dist/src/client/types/app/bsky/actor/profile.d.ts +15 -0
- package/dist/src/client/types/app/bsky/actor/ref.d.ts +14 -0
- package/dist/src/client/types/app/bsky/actor/search.d.ts +32 -0
- package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +28 -0
- package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +48 -0
- package/dist/src/client/types/app/bsky/badge.d.ts +22 -0
- package/dist/src/client/types/app/bsky/badgeAccept.d.ts +11 -0
- package/dist/src/client/types/app/bsky/badgeOffer.d.ts +11 -0
- package/dist/src/client/types/app/bsky/declaration.d.ts +6 -0
- package/dist/src/client/types/app/bsky/embed/external.d.ts +26 -0
- package/dist/src/client/types/app/bsky/embed/images.d.ts +23 -0
- package/dist/src/client/types/app/bsky/feed/embed.d.ts +36 -0
- package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +26 -0
- package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +22 -0
- package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +43 -0
- package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +35 -0
- package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +22 -0
- package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +33 -0
- package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +18 -0
- package/dist/src/client/types/app/bsky/feed/post.d.ts +54 -0
- package/dist/src/client/types/app/bsky/feed/repost.d.ts +6 -0
- package/dist/src/client/types/app/bsky/feed/setVote.d.ts +25 -0
- package/dist/src/client/types/app/bsky/feed/trend.d.ts +6 -0
- package/dist/src/client/types/app/bsky/feed/vote.d.ts +7 -0
- package/dist/src/client/types/app/bsky/follow.d.ts +9 -0
- package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getLikedBy.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +16 -0
- package/dist/src/client/types/app/bsky/getNotifications.d.ts +33 -0
- package/dist/src/client/types/app/bsky/getPostThread.d.ts +55 -0
- package/dist/src/client/types/app/bsky/getProfile.d.ts +26 -0
- package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getTimeline.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +31 -0
- package/dist/src/client/types/app/bsky/getUserFollows.d.ts +31 -0
- package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +26 -0
- package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +22 -0
- package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
- package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +1 -0
- package/dist/src/client/types/app/bsky/graph/assertion.d.ts +7 -0
- package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +8 -0
- package/dist/src/client/types/app/bsky/graph/follow.d.ts +6 -0
- package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +43 -0
- package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +34 -0
- package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +33 -0
- package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +33 -0
- package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +33 -0
- package/dist/src/client/types/app/bsky/invite.d.ts +10 -0
- package/dist/src/client/types/app/bsky/inviteAccept.d.ts +14 -0
- package/dist/src/client/types/app/bsky/like.d.ts +10 -0
- package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +15 -0
- package/dist/src/client/types/app/bsky/notification/getCount.d.ts +17 -0
- package/dist/src/client/types/app/bsky/notification/list.d.ts +32 -0
- package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +17 -0
- package/dist/src/client/types/app/bsky/post.d.ts +23 -0
- package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +20 -0
- package/dist/src/client/types/app/bsky/profile.d.ts +5 -0
- package/dist/src/client/types/app/bsky/repost.d.ts +10 -0
- package/dist/src/client/types/app/bsky/system/actorScene.d.ts +1 -0
- package/dist/src/client/types/app/bsky/system/actorUser.d.ts +1 -0
- package/dist/src/client/types/app/bsky/system/declRef.d.ts +5 -0
- package/dist/src/client/types/app/bsky/system/declaration.d.ts +4 -0
- package/dist/src/client/types/app/bsky/updateProfile.d.ts +23 -0
- package/dist/src/client/types/com/atproto/account/create.d.ts +41 -0
- package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
- package/dist/src/client/types/com/atproto/account/delete.d.ts +13 -0
- package/dist/src/client/types/com/atproto/account/get.d.ts +12 -0
- package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
- package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +24 -0
- package/dist/src/client/types/com/atproto/blob/upload.d.ts +19 -0
- package/dist/src/client/types/com/atproto/createAccount.d.ts +40 -0
- package/dist/src/client/types/com/atproto/createInviteCode.d.ts +20 -0
- package/dist/src/client/types/com/atproto/createSession.d.ts +24 -0
- package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +19 -0
- package/dist/src/client/types/com/atproto/deleteAccount.d.ts +20 -0
- package/dist/src/client/types/com/atproto/deleteSession.d.ts +17 -0
- package/dist/src/client/types/com/atproto/getAccount.d.ts +16 -0
- package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +17 -0
- package/dist/src/client/types/com/atproto/getSession.d.ts +17 -0
- package/dist/src/client/types/com/atproto/handle/resolve.d.ts +18 -0
- package/dist/src/client/types/com/atproto/refreshSession.d.ts +20 -0
- package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +39 -0
- package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +26 -0
- package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +19 -0
- package/dist/src/client/types/com/atproto/repo/describe.d.ts +22 -0
- package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +23 -0
- package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +30 -0
- package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +27 -0
- package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +5 -0
- package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +36 -0
- package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +24 -0
- package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +18 -0
- package/dist/src/client/types/com/atproto/repoDescribe.d.ts +21 -0
- package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +22 -0
- package/dist/src/client/types/com/atproto/repoListRecords.d.ts +27 -0
- package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +25 -0
- package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +19 -0
- package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +26 -0
- package/dist/src/client/types/com/atproto/resolveHandle.d.ts +17 -0
- package/dist/src/client/types/com/atproto/resolveName.d.ts +17 -0
- package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +24 -0
- package/dist/src/client/types/com/atproto/session/create.d.ts +26 -0
- package/dist/src/client/types/com/atproto/session/delete.d.ts +13 -0
- package/dist/src/client/types/com/atproto/session/get.d.ts +18 -0
- package/dist/src/client/types/com/atproto/session/refresh.d.ts +21 -0
- package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +18 -0
- package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +17 -0
- package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +15 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/schemas.d.ts +19 -0
- package/dist/src/session.d.ts +42 -0
- package/dist/src/types/app/bsky/acceptedBadge.d.ts +10 -0
- package/dist/src/types/app/bsky/badge.d.ts +22 -0
- package/dist/src/types/app/bsky/badgeAccept.d.ts +11 -0
- package/dist/src/types/app/bsky/badgeOffer.d.ts +11 -0
- package/dist/src/types/app/bsky/declaration.d.ts +6 -0
- package/dist/src/types/app/bsky/follow.d.ts +9 -0
- package/dist/src/types/app/bsky/getAuthorFeed.d.ts +56 -0
- package/dist/src/types/app/bsky/getBadgeMembers.d.ts +29 -0
- package/dist/src/types/app/bsky/getHomeFeed.d.ts +56 -0
- package/dist/src/types/app/bsky/getLikedBy.d.ts +29 -0
- package/dist/src/types/app/bsky/getNotificationCount.d.ts +16 -0
- package/dist/src/types/app/bsky/getNotifications.d.ts +33 -0
- package/dist/src/types/app/bsky/getPostThread.d.ts +55 -0
- package/dist/src/types/app/bsky/getProfile.d.ts +42 -0
- package/dist/src/types/app/bsky/getRepostedBy.d.ts +29 -0
- package/dist/src/types/app/bsky/getUserFollowers.d.ts +31 -0
- package/dist/src/types/app/bsky/getUserFollows.d.ts +31 -0
- package/dist/src/types/app/bsky/getUsersSearch.d.ts +26 -0
- package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +22 -0
- package/dist/src/types/app/bsky/invite.d.ts +10 -0
- package/dist/src/types/app/bsky/inviteAccept.d.ts +14 -0
- package/dist/src/types/app/bsky/like.d.ts +10 -0
- package/dist/src/types/app/bsky/mediaEmbed.d.ts +15 -0
- package/dist/src/types/app/bsky/post.d.ts +23 -0
- package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +19 -0
- package/dist/src/types/app/bsky/profile.d.ts +11 -0
- package/dist/src/types/app/bsky/repost.d.ts +10 -0
- package/dist/src/types/app/bsky/updateProfile.d.ts +27 -0
- package/dist/src/types/com/atproto/createAccount.d.ts +39 -0
- package/dist/src/types/com/atproto/createInviteCode.d.ts +19 -0
- package/dist/src/types/com/atproto/createSession.d.ts +23 -0
- package/dist/src/types/com/atproto/deleteAccount.d.ts +19 -0
- package/dist/src/types/com/atproto/deleteSession.d.ts +16 -0
- package/dist/src/types/com/atproto/getAccount.d.ts +19 -0
- package/dist/src/types/com/atproto/getAccountsConfig.d.ts +17 -0
- package/dist/src/types/com/atproto/getSession.d.ts +17 -0
- package/dist/src/types/com/atproto/refreshSession.d.ts +19 -0
- package/dist/src/types/com/atproto/repoBatchWrite.d.ts +35 -0
- package/dist/src/types/com/atproto/repoCreateRecord.d.ts +23 -0
- package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +15 -0
- package/dist/src/types/com/atproto/repoDescribe.d.ts +21 -0
- package/dist/src/types/com/atproto/repoGetRecord.d.ts +22 -0
- package/dist/src/types/com/atproto/repoListRecords.d.ts +27 -0
- package/dist/src/types/com/atproto/repoPutRecord.d.ts +24 -0
- package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +18 -0
- package/dist/src/types/com/atproto/resetAccountPassword.d.ts +25 -0
- package/dist/src/types/com/atproto/resolveName.d.ts +17 -0
- package/dist/src/types/com/atproto/syncGetRepo.d.ts +15 -0
- package/dist/src/types/com/atproto/syncGetRoot.d.ts +17 -0
- package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +14 -0
- package/dist/src/types/todo/adx/createAccount.d.ts +36 -0
- package/dist/src/types/todo/adx/createInviteCode.d.ts +19 -0
- package/dist/src/types/todo/adx/createSession.d.ts +22 -0
- package/dist/src/types/todo/adx/deleteAccount.d.ts +19 -0
- package/dist/src/types/todo/adx/deleteSession.d.ts +19 -0
- package/dist/src/types/todo/adx/getAccount.d.ts +19 -0
- package/dist/src/types/todo/adx/getAccountsConfig.d.ts +17 -0
- package/dist/src/types/todo/adx/getSession.d.ts +17 -0
- package/dist/src/types/todo/adx/repoBatchWrite.d.ts +34 -0
- package/dist/src/types/todo/adx/repoCreateRecord.d.ts +22 -0
- package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +15 -0
- package/dist/src/types/todo/adx/repoDescribe.d.ts +21 -0
- package/dist/src/types/todo/adx/repoGetRecord.d.ts +20 -0
- package/dist/src/types/todo/adx/repoListRecords.d.ts +25 -0
- package/dist/src/types/todo/adx/repoPutRecord.d.ts +23 -0
- package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +18 -0
- package/dist/src/types/todo/adx/resetAccountPassword.d.ts +25 -0
- package/dist/src/types/todo/adx/resolveName.d.ts +17 -0
- package/dist/src/types/todo/adx/syncGetRepo.d.ts +15 -0
- package/dist/src/types/todo/adx/syncGetRoot.d.ts +17 -0
- package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +14 -0
- package/dist/src/types/todo/social/badge.d.ts +23 -0
- package/dist/src/types/todo/social/follow.d.ts +5 -0
- package/dist/src/types/todo/social/getAuthorFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getHomeFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getLikedBy.d.ts +26 -0
- package/dist/src/types/todo/social/getNotificationCount.d.ts +16 -0
- package/dist/src/types/todo/social/getNotifications.d.ts +31 -0
- package/dist/src/types/todo/social/getPostThread.d.ts +54 -0
- package/dist/src/types/todo/social/getProfile.d.ts +40 -0
- package/dist/src/types/todo/social/getRepostedBy.d.ts +26 -0
- package/dist/src/types/todo/social/getUserFollowers.d.ts +30 -0
- package/dist/src/types/todo/social/getUserFollows.d.ts +30 -0
- package/dist/src/types/todo/social/like.d.ts +5 -0
- package/dist/src/types/todo/social/mediaEmbed.d.ts +15 -0
- package/dist/src/types/todo/social/post.d.ts +18 -0
- package/dist/src/types/todo/social/postNotificationsSeen.d.ts +19 -0
- package/dist/src/types/todo/social/profile.d.ts +10 -0
- package/dist/src/types/todo/social/repost.d.ts +5 -0
- package/dist/types.d.ts +5 -5
- package/docs/moderation.md +3 -3
- package/package.json +6 -6
- package/src/agent.ts +26 -8
- package/src/client/index.ts +78 -64
- package/src/client/lexicons.ts +120 -49
- package/src/client/types/com/atproto/admin/defs.ts +29 -0
- package/src/client/types/{app/bsky/unspecced/getPopular.ts → com/atproto/admin/getAccountInfos.ts} +3 -6
- package/src/client/types/com/atproto/admin/queryModerationStatuses.ts +2 -0
- package/src/client/types/com/atproto/admin/sendEmail.ts +2 -0
- package/src/client/types/com/atproto/moderation/defs.ts +3 -0
- package/src/client/types/com/atproto/server/createAccount.ts +2 -0
- package/src/client/types/com/atproto/server/describeServer.ts +1 -0
- package/src/client/types/com/atproto/temp/requestPhoneVerification.ts +32 -0
- package/src/moderation/index.ts +4 -4
- package/src/types.ts +6 -1
- package/tests/agent.test.ts +2 -2
- package/tests/moderation.test.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atproto/api
|
|
2
2
|
|
|
3
|
+
## 0.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#2039](https://github.com/bluesky-social/atproto/pull/2039) [`bf8d718c`](https://github.com/bluesky-social/atproto/commit/bf8d718cf918ac8d8a2cb1f57fde80535284642d) Thanks [@dholms](https://github.com/dholms)! - Namespace lexicon codegen
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#2056](https://github.com/bluesky-social/atproto/pull/2056) [`e43396af`](https://github.com/bluesky-social/atproto/commit/e43396af0973748dd2d034e88d35cf7ae8b4df2c) Thanks [@dholms](https://github.com/dholms)! - Added phone verification methods/schemas to agent.
|
|
12
|
+
|
|
13
|
+
- [#1988](https://github.com/bluesky-social/atproto/pull/1988) [`51fcba7a`](https://github.com/bluesky-social/atproto/commit/51fcba7a7945c604fc50e9545850a12ef0ee6da6) Thanks [@bnewbold](https://github.com/bnewbold)! - remove deprecated app.bsky.unspecced.getPopular endpoint
|
|
14
|
+
|
|
15
|
+
## 0.8.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [#2010](https://github.com/bluesky-social/atproto/pull/2010) [`14067733`](https://github.com/bluesky-social/atproto/commit/140677335f76b99129c1f593d9e11d64624386c6) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Improve `resumeSession` event emission. It will no longer double emit when some
|
|
20
|
+
requests fail, and the `create-failed` event has been replaced by `expired`
|
|
21
|
+
where appropriate, and with a new event `network-error` where appropriate or an
|
|
22
|
+
unknown error occurs.
|
|
23
|
+
|
|
3
24
|
## 0.7.4
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -197,7 +197,7 @@ const profileMod = moderateProfile(profileView, getOpts())
|
|
|
197
197
|
// =
|
|
198
198
|
|
|
199
199
|
if (postMod.content.filter) {
|
|
200
|
-
//
|
|
200
|
+
// don't render in feeds or similar
|
|
201
201
|
// in contexts where this is disruptive (eg threads) you should ignore this and instead check blur
|
|
202
202
|
}
|
|
203
203
|
if (postMod.content.blur) {
|
|
@@ -315,7 +315,7 @@ import { BskyAgent } from '@atproto/api'
|
|
|
315
315
|
|
|
316
316
|
const agent = new BskyAgent({ service: 'https://example.com' })
|
|
317
317
|
|
|
318
|
-
// provide a custom fetch implementation (
|
|
318
|
+
// provide a custom fetch implementation (shouldn't be needed in node or the browser)
|
|
319
319
|
import {
|
|
320
320
|
AtpAgentFetchHeaders,
|
|
321
321
|
AtpAgentFetchHandlerResponse,
|
package/dist/client/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/di
|
|
|
5
5
|
import * as ComAtprotoAdminEmitModerationEvent from './types/com/atproto/admin/emitModerationEvent';
|
|
6
6
|
import * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites';
|
|
7
7
|
import * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo';
|
|
8
|
+
import * as ComAtprotoAdminGetAccountInfos from './types/com/atproto/admin/getAccountInfos';
|
|
8
9
|
import * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes';
|
|
9
10
|
import * as ComAtprotoAdminGetModerationEvent from './types/com/atproto/admin/getModerationEvent';
|
|
10
11
|
import * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
@@ -64,6 +65,7 @@ import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCra
|
|
|
64
65
|
import * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels';
|
|
65
66
|
import * as ComAtprotoTempImportRepo from './types/com/atproto/temp/importRepo';
|
|
66
67
|
import * as ComAtprotoTempPushBlob from './types/com/atproto/temp/pushBlob';
|
|
68
|
+
import * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification';
|
|
67
69
|
import * as ComAtprotoTempTransferAccount from './types/com/atproto/temp/transferAccount';
|
|
68
70
|
import * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences';
|
|
69
71
|
import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
@@ -116,7 +118,6 @@ import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notificatio
|
|
|
116
118
|
import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications';
|
|
117
119
|
import * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/registerPush';
|
|
118
120
|
import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
|
119
|
-
import * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
|
|
120
121
|
import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators';
|
|
121
122
|
import * as AppBskyUnspeccedGetTimelineSkeleton from './types/app/bsky/unspecced/getTimelineSkeleton';
|
|
122
123
|
import * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton';
|
|
@@ -128,6 +129,7 @@ export * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/di
|
|
|
128
129
|
export * as ComAtprotoAdminEmitModerationEvent from './types/com/atproto/admin/emitModerationEvent';
|
|
129
130
|
export * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites';
|
|
130
131
|
export * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo';
|
|
132
|
+
export * as ComAtprotoAdminGetAccountInfos from './types/com/atproto/admin/getAccountInfos';
|
|
131
133
|
export * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes';
|
|
132
134
|
export * as ComAtprotoAdminGetModerationEvent from './types/com/atproto/admin/getModerationEvent';
|
|
133
135
|
export * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
@@ -193,6 +195,7 @@ export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscrib
|
|
|
193
195
|
export * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels';
|
|
194
196
|
export * as ComAtprotoTempImportRepo from './types/com/atproto/temp/importRepo';
|
|
195
197
|
export * as ComAtprotoTempPushBlob from './types/com/atproto/temp/pushBlob';
|
|
198
|
+
export * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification';
|
|
196
199
|
export * as ComAtprotoTempTransferAccount from './types/com/atproto/temp/transferAccount';
|
|
197
200
|
export * as AppBskyActorDefs from './types/app/bsky/actor/defs';
|
|
198
201
|
export * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences';
|
|
@@ -254,7 +257,6 @@ export * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/
|
|
|
254
257
|
export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
|
255
258
|
export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet';
|
|
256
259
|
export * as AppBskyUnspeccedDefs from './types/app/bsky/unspecced/defs';
|
|
257
|
-
export * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
|
|
258
260
|
export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators';
|
|
259
261
|
export * as AppBskyUnspeccedGetTimelineSkeleton from './types/app/bsky/unspecced/getTimelineSkeleton';
|
|
260
262
|
export * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton';
|
|
@@ -271,6 +273,7 @@ export declare const COM_ATPROTO_MODERATION: {
|
|
|
271
273
|
DefsReasonSexual: string;
|
|
272
274
|
DefsReasonRude: string;
|
|
273
275
|
DefsReasonOther: string;
|
|
276
|
+
DefsReasonAppeal: string;
|
|
274
277
|
};
|
|
275
278
|
export declare const APP_BSKY_GRAPH: {
|
|
276
279
|
DefsModlist: string;
|
|
@@ -291,22 +294,22 @@ export declare class AtpServiceClient {
|
|
|
291
294
|
}
|
|
292
295
|
export declare class ComNS {
|
|
293
296
|
_service: AtpServiceClient;
|
|
294
|
-
atproto:
|
|
297
|
+
atproto: ComAtprotoNS;
|
|
295
298
|
constructor(service: AtpServiceClient);
|
|
296
299
|
}
|
|
297
|
-
export declare class
|
|
300
|
+
export declare class ComAtprotoNS {
|
|
298
301
|
_service: AtpServiceClient;
|
|
299
|
-
admin:
|
|
300
|
-
identity:
|
|
301
|
-
label:
|
|
302
|
-
moderation:
|
|
303
|
-
repo:
|
|
304
|
-
server:
|
|
305
|
-
sync:
|
|
306
|
-
temp:
|
|
302
|
+
admin: ComAtprotoAdminNS;
|
|
303
|
+
identity: ComAtprotoIdentityNS;
|
|
304
|
+
label: ComAtprotoLabelNS;
|
|
305
|
+
moderation: ComAtprotoModerationNS;
|
|
306
|
+
repo: ComAtprotoRepoNS;
|
|
307
|
+
server: ComAtprotoServerNS;
|
|
308
|
+
sync: ComAtprotoSyncNS;
|
|
309
|
+
temp: ComAtprotoTempNS;
|
|
307
310
|
constructor(service: AtpServiceClient);
|
|
308
311
|
}
|
|
309
|
-
export declare class
|
|
312
|
+
export declare class ComAtprotoAdminNS {
|
|
310
313
|
_service: AtpServiceClient;
|
|
311
314
|
constructor(service: AtpServiceClient);
|
|
312
315
|
deleteAccount(data?: ComAtprotoAdminDeleteAccount.InputSchema, opts?: ComAtprotoAdminDeleteAccount.CallOptions): Promise<ComAtprotoAdminDeleteAccount.Response>;
|
|
@@ -315,6 +318,7 @@ export declare class AdminNS {
|
|
|
315
318
|
emitModerationEvent(data?: ComAtprotoAdminEmitModerationEvent.InputSchema, opts?: ComAtprotoAdminEmitModerationEvent.CallOptions): Promise<ComAtprotoAdminEmitModerationEvent.Response>;
|
|
316
319
|
enableAccountInvites(data?: ComAtprotoAdminEnableAccountInvites.InputSchema, opts?: ComAtprotoAdminEnableAccountInvites.CallOptions): Promise<ComAtprotoAdminEnableAccountInvites.Response>;
|
|
317
320
|
getAccountInfo(params?: ComAtprotoAdminGetAccountInfo.QueryParams, opts?: ComAtprotoAdminGetAccountInfo.CallOptions): Promise<ComAtprotoAdminGetAccountInfo.Response>;
|
|
321
|
+
getAccountInfos(params?: ComAtprotoAdminGetAccountInfos.QueryParams, opts?: ComAtprotoAdminGetAccountInfos.CallOptions): Promise<ComAtprotoAdminGetAccountInfos.Response>;
|
|
318
322
|
getInviteCodes(params?: ComAtprotoAdminGetInviteCodes.QueryParams, opts?: ComAtprotoAdminGetInviteCodes.CallOptions): Promise<ComAtprotoAdminGetInviteCodes.Response>;
|
|
319
323
|
getModerationEvent(params?: ComAtprotoAdminGetModerationEvent.QueryParams, opts?: ComAtprotoAdminGetModerationEvent.CallOptions): Promise<ComAtprotoAdminGetModerationEvent.Response>;
|
|
320
324
|
getRecord(params?: ComAtprotoAdminGetRecord.QueryParams, opts?: ComAtprotoAdminGetRecord.CallOptions): Promise<ComAtprotoAdminGetRecord.Response>;
|
|
@@ -328,23 +332,23 @@ export declare class AdminNS {
|
|
|
328
332
|
updateAccountHandle(data?: ComAtprotoAdminUpdateAccountHandle.InputSchema, opts?: ComAtprotoAdminUpdateAccountHandle.CallOptions): Promise<ComAtprotoAdminUpdateAccountHandle.Response>;
|
|
329
333
|
updateSubjectStatus(data?: ComAtprotoAdminUpdateSubjectStatus.InputSchema, opts?: ComAtprotoAdminUpdateSubjectStatus.CallOptions): Promise<ComAtprotoAdminUpdateSubjectStatus.Response>;
|
|
330
334
|
}
|
|
331
|
-
export declare class
|
|
335
|
+
export declare class ComAtprotoIdentityNS {
|
|
332
336
|
_service: AtpServiceClient;
|
|
333
337
|
constructor(service: AtpServiceClient);
|
|
334
338
|
resolveHandle(params?: ComAtprotoIdentityResolveHandle.QueryParams, opts?: ComAtprotoIdentityResolveHandle.CallOptions): Promise<ComAtprotoIdentityResolveHandle.Response>;
|
|
335
339
|
updateHandle(data?: ComAtprotoIdentityUpdateHandle.InputSchema, opts?: ComAtprotoIdentityUpdateHandle.CallOptions): Promise<ComAtprotoIdentityUpdateHandle.Response>;
|
|
336
340
|
}
|
|
337
|
-
export declare class
|
|
341
|
+
export declare class ComAtprotoLabelNS {
|
|
338
342
|
_service: AtpServiceClient;
|
|
339
343
|
constructor(service: AtpServiceClient);
|
|
340
344
|
queryLabels(params?: ComAtprotoLabelQueryLabels.QueryParams, opts?: ComAtprotoLabelQueryLabels.CallOptions): Promise<ComAtprotoLabelQueryLabels.Response>;
|
|
341
345
|
}
|
|
342
|
-
export declare class
|
|
346
|
+
export declare class ComAtprotoModerationNS {
|
|
343
347
|
_service: AtpServiceClient;
|
|
344
348
|
constructor(service: AtpServiceClient);
|
|
345
349
|
createReport(data?: ComAtprotoModerationCreateReport.InputSchema, opts?: ComAtprotoModerationCreateReport.CallOptions): Promise<ComAtprotoModerationCreateReport.Response>;
|
|
346
350
|
}
|
|
347
|
-
export declare class
|
|
351
|
+
export declare class ComAtprotoRepoNS {
|
|
348
352
|
_service: AtpServiceClient;
|
|
349
353
|
constructor(service: AtpServiceClient);
|
|
350
354
|
applyWrites(data?: ComAtprotoRepoApplyWrites.InputSchema, opts?: ComAtprotoRepoApplyWrites.CallOptions): Promise<ComAtprotoRepoApplyWrites.Response>;
|
|
@@ -356,7 +360,7 @@ export declare class RepoNS {
|
|
|
356
360
|
putRecord(data?: ComAtprotoRepoPutRecord.InputSchema, opts?: ComAtprotoRepoPutRecord.CallOptions): Promise<ComAtprotoRepoPutRecord.Response>;
|
|
357
361
|
uploadBlob(data?: ComAtprotoRepoUploadBlob.InputSchema, opts?: ComAtprotoRepoUploadBlob.CallOptions): Promise<ComAtprotoRepoUploadBlob.Response>;
|
|
358
362
|
}
|
|
359
|
-
export declare class
|
|
363
|
+
export declare class ComAtprotoServerNS {
|
|
360
364
|
_service: AtpServiceClient;
|
|
361
365
|
constructor(service: AtpServiceClient);
|
|
362
366
|
confirmEmail(data?: ComAtprotoServerConfirmEmail.InputSchema, opts?: ComAtprotoServerConfirmEmail.CallOptions): Promise<ComAtprotoServerConfirmEmail.Response>;
|
|
@@ -381,7 +385,7 @@ export declare class ServerNS {
|
|
|
381
385
|
revokeAppPassword(data?: ComAtprotoServerRevokeAppPassword.InputSchema, opts?: ComAtprotoServerRevokeAppPassword.CallOptions): Promise<ComAtprotoServerRevokeAppPassword.Response>;
|
|
382
386
|
updateEmail(data?: ComAtprotoServerUpdateEmail.InputSchema, opts?: ComAtprotoServerUpdateEmail.CallOptions): Promise<ComAtprotoServerUpdateEmail.Response>;
|
|
383
387
|
}
|
|
384
|
-
export declare class
|
|
388
|
+
export declare class ComAtprotoSyncNS {
|
|
385
389
|
_service: AtpServiceClient;
|
|
386
390
|
constructor(service: AtpServiceClient);
|
|
387
391
|
getBlob(params?: ComAtprotoSyncGetBlob.QueryParams, opts?: ComAtprotoSyncGetBlob.CallOptions): Promise<ComAtprotoSyncGetBlob.Response>;
|
|
@@ -396,31 +400,32 @@ export declare class SyncNS {
|
|
|
396
400
|
notifyOfUpdate(data?: ComAtprotoSyncNotifyOfUpdate.InputSchema, opts?: ComAtprotoSyncNotifyOfUpdate.CallOptions): Promise<ComAtprotoSyncNotifyOfUpdate.Response>;
|
|
397
401
|
requestCrawl(data?: ComAtprotoSyncRequestCrawl.InputSchema, opts?: ComAtprotoSyncRequestCrawl.CallOptions): Promise<ComAtprotoSyncRequestCrawl.Response>;
|
|
398
402
|
}
|
|
399
|
-
export declare class
|
|
403
|
+
export declare class ComAtprotoTempNS {
|
|
400
404
|
_service: AtpServiceClient;
|
|
401
405
|
constructor(service: AtpServiceClient);
|
|
402
406
|
fetchLabels(params?: ComAtprotoTempFetchLabels.QueryParams, opts?: ComAtprotoTempFetchLabels.CallOptions): Promise<ComAtprotoTempFetchLabels.Response>;
|
|
403
407
|
importRepo(data?: ComAtprotoTempImportRepo.InputSchema, opts?: ComAtprotoTempImportRepo.CallOptions): Promise<ComAtprotoTempImportRepo.Response>;
|
|
404
408
|
pushBlob(data?: ComAtprotoTempPushBlob.InputSchema, opts?: ComAtprotoTempPushBlob.CallOptions): Promise<ComAtprotoTempPushBlob.Response>;
|
|
409
|
+
requestPhoneVerification(data?: ComAtprotoTempRequestPhoneVerification.InputSchema, opts?: ComAtprotoTempRequestPhoneVerification.CallOptions): Promise<ComAtprotoTempRequestPhoneVerification.Response>;
|
|
405
410
|
transferAccount(data?: ComAtprotoTempTransferAccount.InputSchema, opts?: ComAtprotoTempTransferAccount.CallOptions): Promise<ComAtprotoTempTransferAccount.Response>;
|
|
406
411
|
}
|
|
407
412
|
export declare class AppNS {
|
|
408
413
|
_service: AtpServiceClient;
|
|
409
|
-
bsky:
|
|
414
|
+
bsky: AppBskyNS;
|
|
410
415
|
constructor(service: AtpServiceClient);
|
|
411
416
|
}
|
|
412
|
-
export declare class
|
|
417
|
+
export declare class AppBskyNS {
|
|
413
418
|
_service: AtpServiceClient;
|
|
414
|
-
actor:
|
|
415
|
-
embed:
|
|
416
|
-
feed:
|
|
417
|
-
graph:
|
|
418
|
-
notification:
|
|
419
|
-
richtext:
|
|
420
|
-
unspecced:
|
|
419
|
+
actor: AppBskyActorNS;
|
|
420
|
+
embed: AppBskyEmbedNS;
|
|
421
|
+
feed: AppBskyFeedNS;
|
|
422
|
+
graph: AppBskyGraphNS;
|
|
423
|
+
notification: AppBskyNotificationNS;
|
|
424
|
+
richtext: AppBskyRichtextNS;
|
|
425
|
+
unspecced: AppBskyUnspeccedNS;
|
|
421
426
|
constructor(service: AtpServiceClient);
|
|
422
427
|
}
|
|
423
|
-
export declare class
|
|
428
|
+
export declare class AppBskyActorNS {
|
|
424
429
|
_service: AtpServiceClient;
|
|
425
430
|
profile: ProfileRecord;
|
|
426
431
|
constructor(service: AtpServiceClient);
|
|
@@ -453,11 +458,11 @@ export declare class ProfileRecord {
|
|
|
453
458
|
}>;
|
|
454
459
|
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
455
460
|
}
|
|
456
|
-
export declare class
|
|
461
|
+
export declare class AppBskyEmbedNS {
|
|
457
462
|
_service: AtpServiceClient;
|
|
458
463
|
constructor(service: AtpServiceClient);
|
|
459
464
|
}
|
|
460
|
-
export declare class
|
|
465
|
+
export declare class AppBskyFeedNS {
|
|
461
466
|
_service: AtpServiceClient;
|
|
462
467
|
generator: GeneratorRecord;
|
|
463
468
|
like: LikeRecord;
|
|
@@ -587,7 +592,7 @@ export declare class ThreadgateRecord {
|
|
|
587
592
|
}>;
|
|
588
593
|
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
589
594
|
}
|
|
590
|
-
export declare class
|
|
595
|
+
export declare class AppBskyGraphNS {
|
|
591
596
|
_service: AtpServiceClient;
|
|
592
597
|
block: BlockRecord;
|
|
593
598
|
follow: FollowRecord;
|
|
@@ -714,7 +719,7 @@ export declare class ListitemRecord {
|
|
|
714
719
|
}>;
|
|
715
720
|
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
716
721
|
}
|
|
717
|
-
export declare class
|
|
722
|
+
export declare class AppBskyNotificationNS {
|
|
718
723
|
_service: AtpServiceClient;
|
|
719
724
|
constructor(service: AtpServiceClient);
|
|
720
725
|
getUnreadCount(params?: AppBskyNotificationGetUnreadCount.QueryParams, opts?: AppBskyNotificationGetUnreadCount.CallOptions): Promise<AppBskyNotificationGetUnreadCount.Response>;
|
|
@@ -722,14 +727,13 @@ export declare class NotificationNS {
|
|
|
722
727
|
registerPush(data?: AppBskyNotificationRegisterPush.InputSchema, opts?: AppBskyNotificationRegisterPush.CallOptions): Promise<AppBskyNotificationRegisterPush.Response>;
|
|
723
728
|
updateSeen(data?: AppBskyNotificationUpdateSeen.InputSchema, opts?: AppBskyNotificationUpdateSeen.CallOptions): Promise<AppBskyNotificationUpdateSeen.Response>;
|
|
724
729
|
}
|
|
725
|
-
export declare class
|
|
730
|
+
export declare class AppBskyRichtextNS {
|
|
726
731
|
_service: AtpServiceClient;
|
|
727
732
|
constructor(service: AtpServiceClient);
|
|
728
733
|
}
|
|
729
|
-
export declare class
|
|
734
|
+
export declare class AppBskyUnspeccedNS {
|
|
730
735
|
_service: AtpServiceClient;
|
|
731
736
|
constructor(service: AtpServiceClient);
|
|
732
|
-
getPopular(params?: AppBskyUnspeccedGetPopular.QueryParams, opts?: AppBskyUnspeccedGetPopular.CallOptions): Promise<AppBskyUnspeccedGetPopular.Response>;
|
|
733
737
|
getPopularFeedGenerators(params?: AppBskyUnspeccedGetPopularFeedGenerators.QueryParams, opts?: AppBskyUnspeccedGetPopularFeedGenerators.CallOptions): Promise<AppBskyUnspeccedGetPopularFeedGenerators.Response>;
|
|
734
738
|
getTimelineSkeleton(params?: AppBskyUnspeccedGetTimelineSkeleton.QueryParams, opts?: AppBskyUnspeccedGetTimelineSkeleton.CallOptions): Promise<AppBskyUnspeccedGetTimelineSkeleton.Response>;
|
|
735
739
|
searchActorsSkeleton(params?: AppBskyUnspeccedSearchActorsSkeleton.QueryParams, opts?: AppBskyUnspeccedSearchActorsSkeleton.CallOptions): Promise<AppBskyUnspeccedSearchActorsSkeleton.Response>;
|
|
@@ -177,9 +177,18 @@ export declare const schemaDict: {
|
|
|
177
177
|
type: string;
|
|
178
178
|
format: string;
|
|
179
179
|
};
|
|
180
|
+
lastAppealedAt: {
|
|
181
|
+
type: string;
|
|
182
|
+
format: string;
|
|
183
|
+
description: string;
|
|
184
|
+
};
|
|
180
185
|
takendown: {
|
|
181
186
|
type: string;
|
|
182
187
|
};
|
|
188
|
+
appealed: {
|
|
189
|
+
type: string;
|
|
190
|
+
description: string;
|
|
191
|
+
};
|
|
183
192
|
suspendUntil: {
|
|
184
193
|
type: string;
|
|
185
194
|
format: string;
|
|
@@ -340,6 +349,12 @@ export declare const schemaDict: {
|
|
|
340
349
|
email: {
|
|
341
350
|
type: string;
|
|
342
351
|
};
|
|
352
|
+
relatedRecords: {
|
|
353
|
+
type: string;
|
|
354
|
+
items: {
|
|
355
|
+
type: string;
|
|
356
|
+
};
|
|
357
|
+
};
|
|
343
358
|
indexedAt: {
|
|
344
359
|
type: string;
|
|
345
360
|
format: string;
|
|
@@ -606,6 +621,16 @@ export declare const schemaDict: {
|
|
|
606
621
|
};
|
|
607
622
|
};
|
|
608
623
|
};
|
|
624
|
+
modEventResolveAppeal: {
|
|
625
|
+
type: string;
|
|
626
|
+
description: string;
|
|
627
|
+
properties: {
|
|
628
|
+
comment: {
|
|
629
|
+
type: string;
|
|
630
|
+
description: string;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
};
|
|
609
634
|
modEventComment: {
|
|
610
635
|
type: string;
|
|
611
636
|
description: string;
|
|
@@ -705,6 +730,10 @@ export declare const schemaDict: {
|
|
|
705
730
|
type: string;
|
|
706
731
|
description: string;
|
|
707
732
|
};
|
|
733
|
+
comment: {
|
|
734
|
+
type: string;
|
|
735
|
+
description: string;
|
|
736
|
+
};
|
|
708
737
|
};
|
|
709
738
|
};
|
|
710
739
|
};
|
|
@@ -891,6 +920,45 @@ export declare const schemaDict: {
|
|
|
891
920
|
};
|
|
892
921
|
};
|
|
893
922
|
};
|
|
923
|
+
ComAtprotoAdminGetAccountInfos: {
|
|
924
|
+
lexicon: number;
|
|
925
|
+
id: string;
|
|
926
|
+
defs: {
|
|
927
|
+
main: {
|
|
928
|
+
type: string;
|
|
929
|
+
description: string;
|
|
930
|
+
parameters: {
|
|
931
|
+
type: string;
|
|
932
|
+
required: string[];
|
|
933
|
+
properties: {
|
|
934
|
+
dids: {
|
|
935
|
+
type: string;
|
|
936
|
+
items: {
|
|
937
|
+
type: string;
|
|
938
|
+
format: string;
|
|
939
|
+
};
|
|
940
|
+
};
|
|
941
|
+
};
|
|
942
|
+
};
|
|
943
|
+
output: {
|
|
944
|
+
encoding: string;
|
|
945
|
+
schema: {
|
|
946
|
+
type: string;
|
|
947
|
+
required: string[];
|
|
948
|
+
properties: {
|
|
949
|
+
infos: {
|
|
950
|
+
type: string;
|
|
951
|
+
items: {
|
|
952
|
+
type: string;
|
|
953
|
+
ref: string;
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
};
|
|
894
962
|
ComAtprotoAdminGetInviteCodes: {
|
|
895
963
|
lexicon: number;
|
|
896
964
|
id: string;
|
|
@@ -1214,6 +1282,10 @@ export declare const schemaDict: {
|
|
|
1214
1282
|
type: string;
|
|
1215
1283
|
description: string;
|
|
1216
1284
|
};
|
|
1285
|
+
appealed: {
|
|
1286
|
+
type: string;
|
|
1287
|
+
description: string;
|
|
1288
|
+
};
|
|
1217
1289
|
limit: {
|
|
1218
1290
|
type: string;
|
|
1219
1291
|
minimum: number;
|
|
@@ -1324,6 +1396,10 @@ export declare const schemaDict: {
|
|
|
1324
1396
|
type: string;
|
|
1325
1397
|
format: string;
|
|
1326
1398
|
};
|
|
1399
|
+
comment: {
|
|
1400
|
+
type: string;
|
|
1401
|
+
description: string;
|
|
1402
|
+
};
|
|
1327
1403
|
};
|
|
1328
1404
|
};
|
|
1329
1405
|
};
|
|
@@ -1777,6 +1853,10 @@ export declare const schemaDict: {
|
|
|
1777
1853
|
type: string;
|
|
1778
1854
|
description: string;
|
|
1779
1855
|
};
|
|
1856
|
+
reasonAppeal: {
|
|
1857
|
+
type: string;
|
|
1858
|
+
description: string;
|
|
1859
|
+
};
|
|
1780
1860
|
};
|
|
1781
1861
|
};
|
|
1782
1862
|
ComAtprotoRepoApplyWrites: {
|
|
@@ -2351,6 +2431,12 @@ export declare const schemaDict: {
|
|
|
2351
2431
|
inviteCode: {
|
|
2352
2432
|
type: string;
|
|
2353
2433
|
};
|
|
2434
|
+
verificationCode: {
|
|
2435
|
+
type: string;
|
|
2436
|
+
};
|
|
2437
|
+
verificationPhone: {
|
|
2438
|
+
type: string;
|
|
2439
|
+
};
|
|
2354
2440
|
password: {
|
|
2355
2441
|
type: string;
|
|
2356
2442
|
};
|
|
@@ -2716,6 +2802,9 @@ export declare const schemaDict: {
|
|
|
2716
2802
|
inviteCodeRequired: {
|
|
2717
2803
|
type: string;
|
|
2718
2804
|
};
|
|
2805
|
+
phoneVerificationRequired: {
|
|
2806
|
+
type: string;
|
|
2807
|
+
};
|
|
2719
2808
|
availableUserDomains: {
|
|
2720
2809
|
type: string;
|
|
2721
2810
|
items: {
|
|
@@ -3730,6 +3819,28 @@ export declare const schemaDict: {
|
|
|
3730
3819
|
};
|
|
3731
3820
|
};
|
|
3732
3821
|
};
|
|
3822
|
+
ComAtprotoTempRequestPhoneVerification: {
|
|
3823
|
+
lexicon: number;
|
|
3824
|
+
id: string;
|
|
3825
|
+
defs: {
|
|
3826
|
+
main: {
|
|
3827
|
+
type: string;
|
|
3828
|
+
description: string;
|
|
3829
|
+
input: {
|
|
3830
|
+
encoding: string;
|
|
3831
|
+
schema: {
|
|
3832
|
+
type: string;
|
|
3833
|
+
required: string[];
|
|
3834
|
+
properties: {
|
|
3835
|
+
phoneNumber: {
|
|
3836
|
+
type: string;
|
|
3837
|
+
};
|
|
3838
|
+
};
|
|
3839
|
+
};
|
|
3840
|
+
};
|
|
3841
|
+
};
|
|
3842
|
+
};
|
|
3843
|
+
};
|
|
3733
3844
|
ComAtprotoTempTransferAccount: {
|
|
3734
3845
|
lexicon: number;
|
|
3735
3846
|
id: string;
|
|
@@ -7088,53 +7199,6 @@ export declare const schemaDict: {
|
|
|
7088
7199
|
};
|
|
7089
7200
|
};
|
|
7090
7201
|
};
|
|
7091
|
-
AppBskyUnspeccedGetPopular: {
|
|
7092
|
-
lexicon: number;
|
|
7093
|
-
id: string;
|
|
7094
|
-
defs: {
|
|
7095
|
-
main: {
|
|
7096
|
-
type: string;
|
|
7097
|
-
description: string;
|
|
7098
|
-
parameters: {
|
|
7099
|
-
type: string;
|
|
7100
|
-
properties: {
|
|
7101
|
-
includeNsfw: {
|
|
7102
|
-
type: string;
|
|
7103
|
-
default: boolean;
|
|
7104
|
-
};
|
|
7105
|
-
limit: {
|
|
7106
|
-
type: string;
|
|
7107
|
-
minimum: number;
|
|
7108
|
-
maximum: number;
|
|
7109
|
-
default: number;
|
|
7110
|
-
};
|
|
7111
|
-
cursor: {
|
|
7112
|
-
type: string;
|
|
7113
|
-
};
|
|
7114
|
-
};
|
|
7115
|
-
};
|
|
7116
|
-
output: {
|
|
7117
|
-
encoding: string;
|
|
7118
|
-
schema: {
|
|
7119
|
-
type: string;
|
|
7120
|
-
required: string[];
|
|
7121
|
-
properties: {
|
|
7122
|
-
cursor: {
|
|
7123
|
-
type: string;
|
|
7124
|
-
};
|
|
7125
|
-
feed: {
|
|
7126
|
-
type: string;
|
|
7127
|
-
items: {
|
|
7128
|
-
type: string;
|
|
7129
|
-
ref: string;
|
|
7130
|
-
};
|
|
7131
|
-
};
|
|
7132
|
-
};
|
|
7133
|
-
};
|
|
7134
|
-
};
|
|
7135
|
-
};
|
|
7136
|
-
};
|
|
7137
|
-
};
|
|
7138
7202
|
AppBskyUnspeccedGetPopularFeedGenerators: {
|
|
7139
7203
|
lexicon: number;
|
|
7140
7204
|
id: string;
|
|
@@ -7354,6 +7418,7 @@ export declare const ids: {
|
|
|
7354
7418
|
ComAtprotoAdminEmitModerationEvent: string;
|
|
7355
7419
|
ComAtprotoAdminEnableAccountInvites: string;
|
|
7356
7420
|
ComAtprotoAdminGetAccountInfo: string;
|
|
7421
|
+
ComAtprotoAdminGetAccountInfos: string;
|
|
7357
7422
|
ComAtprotoAdminGetInviteCodes: string;
|
|
7358
7423
|
ComAtprotoAdminGetModerationEvent: string;
|
|
7359
7424
|
ComAtprotoAdminGetRecord: string;
|
|
@@ -7419,6 +7484,7 @@ export declare const ids: {
|
|
|
7419
7484
|
ComAtprotoTempFetchLabels: string;
|
|
7420
7485
|
ComAtprotoTempImportRepo: string;
|
|
7421
7486
|
ComAtprotoTempPushBlob: string;
|
|
7487
|
+
ComAtprotoTempRequestPhoneVerification: string;
|
|
7422
7488
|
ComAtprotoTempTransferAccount: string;
|
|
7423
7489
|
AppBskyActorDefs: string;
|
|
7424
7490
|
AppBskyActorGetPreferences: string;
|
|
@@ -7480,7 +7546,6 @@ export declare const ids: {
|
|
|
7480
7546
|
AppBskyNotificationUpdateSeen: string;
|
|
7481
7547
|
AppBskyRichtextFacet: string;
|
|
7482
7548
|
AppBskyUnspeccedDefs: string;
|
|
7483
|
-
AppBskyUnspeccedGetPopular: string;
|
|
7484
7549
|
AppBskyUnspeccedGetPopularFeedGenerators: string;
|
|
7485
7550
|
AppBskyUnspeccedGetTimelineSkeleton: string;
|
|
7486
7551
|
AppBskyUnspeccedSearchActorsSkeleton: string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
+
import * as AppBskySystemDeclRef from '../system/declRef';
|
|
3
|
+
export interface QueryParams {
|
|
4
|
+
}
|
|
5
|
+
export interface InputSchema {
|
|
6
|
+
handle: string;
|
|
7
|
+
recoveryKey?: string;
|
|
8
|
+
[k: string]: unknown;
|
|
9
|
+
}
|
|
10
|
+
export interface OutputSchema {
|
|
11
|
+
handle: string;
|
|
12
|
+
did: string;
|
|
13
|
+
declaration: AppBskySystemDeclRef.Main;
|
|
14
|
+
[k: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
export interface CallOptions {
|
|
17
|
+
headers?: Headers;
|
|
18
|
+
qp?: QueryParams;
|
|
19
|
+
encoding: 'application/json';
|
|
20
|
+
}
|
|
21
|
+
export interface Response {
|
|
22
|
+
success: boolean;
|
|
23
|
+
headers: Headers;
|
|
24
|
+
data: OutputSchema;
|
|
25
|
+
}
|
|
26
|
+
export declare class InvalidHandleError extends XRPCError {
|
|
27
|
+
constructor(src: XRPCError);
|
|
28
|
+
}
|
|
29
|
+
export declare class HandleNotAvailableError extends XRPCError {
|
|
30
|
+
constructor(src: XRPCError);
|
|
31
|
+
}
|
|
32
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -54,7 +54,7 @@ export interface ViewerState {
|
|
|
54
54
|
}
|
|
55
55
|
export declare function isViewerState(v: unknown): v is ViewerState;
|
|
56
56
|
export declare function validateViewerState(v: unknown): ValidationResult;
|
|
57
|
-
export
|
|
57
|
+
export type Preferences = (AdultContentPref | ContentLabelPref | SavedFeedsPref | PersonalDetailsPref | FeedViewPref | ThreadViewPref | {
|
|
58
58
|
$type: string;
|
|
59
59
|
[k: string]: unknown;
|
|
60
60
|
})[];
|
|
@@ -2,7 +2,7 @@ import { Headers } from '@atproto/xrpc';
|
|
|
2
2
|
import * as AppBskyActorDefs from './defs';
|
|
3
3
|
export interface QueryParams {
|
|
4
4
|
}
|
|
5
|
-
export
|
|
5
|
+
export type InputSchema = undefined;
|
|
6
6
|
export interface OutputSchema {
|
|
7
7
|
preferences: AppBskyActorDefs.Preferences;
|
|
8
8
|
[k: string]: unknown;
|
|
@@ -3,8 +3,8 @@ import * as AppBskyActorDefs from './defs';
|
|
|
3
3
|
export interface QueryParams {
|
|
4
4
|
actor: string;
|
|
5
5
|
}
|
|
6
|
-
export
|
|
7
|
-
export
|
|
6
|
+
export type InputSchema = undefined;
|
|
7
|
+
export type OutputSchema = AppBskyActorDefs.ProfileViewDetailed;
|
|
8
8
|
export interface CallOptions {
|
|
9
9
|
headers?: Headers;
|
|
10
10
|
}
|
|
@@ -3,7 +3,7 @@ import * as AppBskyActorDefs from './defs';
|
|
|
3
3
|
export interface QueryParams {
|
|
4
4
|
actors: string[];
|
|
5
5
|
}
|
|
6
|
-
export
|
|
6
|
+
export type InputSchema = undefined;
|
|
7
7
|
export interface OutputSchema {
|
|
8
8
|
profiles: AppBskyActorDefs.ProfileViewDetailed[];
|
|
9
9
|
[k: string]: unknown;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ValidationResult } from '@atproto/lexicon';
|
|
2
|
+
import * as AppBskySystemDeclRef from '../system/declRef';
|
|
3
|
+
export interface Main {
|
|
4
|
+
did: string;
|
|
5
|
+
declarationCid: string;
|
|
6
|
+
[k: string]: unknown;
|
|
7
|
+
}
|
|
8
|
+
export declare function isMain(v: unknown): v is Main;
|
|
9
|
+
export declare function validateMain(v: unknown): ValidationResult;
|
|
10
|
+
export interface WithInfo {
|
|
11
|
+
did: string;
|
|
12
|
+
declaration: AppBskySystemDeclRef.Main;
|
|
13
|
+
handle: string;
|
|
14
|
+
displayName?: string;
|
|
15
|
+
avatar?: string;
|
|
16
|
+
viewer?: ViewerState;
|
|
17
|
+
[k: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
export declare function isWithInfo(v: unknown): v is WithInfo;
|
|
20
|
+
export declare function validateWithInfo(v: unknown): ValidationResult;
|
|
21
|
+
export interface ViewerState {
|
|
22
|
+
muted?: boolean;
|
|
23
|
+
following?: string;
|
|
24
|
+
followedBy?: string;
|
|
25
|
+
[k: string]: unknown;
|
|
26
|
+
}
|
|
27
|
+
export declare function isViewerState(v: unknown): v is ViewerState;
|
|
28
|
+
export declare function validateViewerState(v: unknown): ValidationResult;
|