@atproto/api 0.9.0 → 0.9.2
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 +12 -0
- package/dist/agent.d.ts +2 -2
- package/dist/client/index.d.ts +12 -0
- package/dist/client/lexicons.d.ts +182 -0
- package/dist/client/types/com/atproto/admin/{resolveModerationReports.d.ts → createCommunicationTemplate.d.ts} +5 -4
- package/dist/client/types/com/atproto/admin/defs.d.ts +13 -0
- package/dist/client/types/{app/bsky/feed/unbookmarkFeed.d.ts → com/atproto/admin/deleteCommunicationTemplate.d.ts} +1 -1
- package/dist/client/types/{app/bsky/moderation/getServices.d.ts → com/atproto/admin/listCommunicationTemplates.d.ts} +2 -3
- package/dist/client/types/com/atproto/admin/{reverseModerationAction.d.ts → updateCommunicationTemplate.d.ts} +7 -4
- package/dist/index.js +599 -342
- package/dist/index.js.map +3 -3
- package/dist/types.d.ts +0 -6
- package/package.json +5 -5
- package/src/agent.ts +2 -8
- package/src/client/index.ts +72 -0
- package/src/client/lexicons.ts +199 -0
- package/src/client/types/com/atproto/admin/createCommunicationTemplate.ts +43 -0
- package/src/client/types/com/atproto/admin/defs.ts +35 -0
- package/src/client/types/com/atproto/admin/deleteCommunicationTemplate.ts +32 -0
- package/src/client/types/com/atproto/admin/listCommunicationTemplates.ts +34 -0
- package/src/client/types/com/atproto/admin/updateCommunicationTemplate.ts +46 -0
- package/src/types.ts +0 -10
- package/dist/client/types/app/bsky/actor/createScene.d.ts +0 -32
- package/dist/client/types/app/bsky/actor/ref.d.ts +0 -28
- package/dist/client/types/app/bsky/actor/search.d.ts +0 -22
- package/dist/client/types/app/bsky/actor/searchActor.d.ts +0 -22
- package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +0 -20
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -20
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -47
- package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +0 -17
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +0 -28
- package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +0 -21
- package/dist/client/types/app/bsky/feed/getSavedFeeds.d.ts +0 -21
- package/dist/client/types/app/bsky/feed/getVotes.d.ts +0 -36
- package/dist/client/types/app/bsky/feed/saveFeed.d.ts +0 -17
- package/dist/client/types/app/bsky/feed/setVote.d.ts +0 -25
- package/dist/client/types/app/bsky/feed/trend.d.ts +0 -9
- package/dist/client/types/app/bsky/feed/unsaveFeed.d.ts +0 -17
- package/dist/client/types/app/bsky/feed/vote.d.ts +0 -10
- package/dist/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
- package/dist/client/types/app/bsky/graph/assertMember.d.ts +0 -1
- package/dist/client/types/app/bsky/graph/assertion.d.ts +0 -10
- package/dist/client/types/app/bsky/graph/confirmation.d.ts +0 -11
- package/dist/client/types/app/bsky/graph/getAssertions.d.ts +0 -48
- package/dist/client/types/app/bsky/graph/getMembers.d.ts +0 -36
- package/dist/client/types/app/bsky/graph/getMemberships.d.ts +0 -36
- package/dist/client/types/app/bsky/graph/mute.d.ts +0 -17
- package/dist/client/types/app/bsky/graph/unmute.d.ts +0 -17
- package/dist/client/types/app/bsky/moderation/defs.d.ts +0 -49
- package/dist/client/types/app/bsky/moderation/getService.d.ts +0 -16
- package/dist/client/types/app/bsky/moderation/service.d.ts +0 -17
- package/dist/client/types/app/bsky/notification/getCount.d.ts +0 -17
- package/dist/client/types/app/bsky/notification/list.d.ts +0 -35
- package/dist/client/types/app/bsky/system/actorScene.d.ts +0 -1
- package/dist/client/types/app/bsky/system/actorUser.d.ts +0 -1
- package/dist/client/types/app/bsky/system/declRef.d.ts +0 -8
- package/dist/client/types/app/bsky/system/declaration.d.ts +0 -7
- package/dist/client/types/app/bsky/unspecced/applyLabels.d.ts +0 -18
- package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +0 -22
- package/dist/client/types/com/atproto/account/create.d.ts +0 -41
- package/dist/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
- package/dist/client/types/com/atproto/account/delete.d.ts +0 -25
- package/dist/client/types/com/atproto/account/get.d.ts +0 -12
- package/dist/client/types/com/atproto/account/requestDelete.d.ts +0 -13
- package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
- package/dist/client/types/com/atproto/account/resetPassword.d.ts +0 -24
- package/dist/client/types/com/atproto/admin/blob.d.ts +0 -37
- package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +0 -29
- package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +0 -16
- package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +0 -22
- package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +0 -16
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +0 -28
- package/dist/client/types/com/atproto/admin/getSubjectState.d.ts +0 -26
- package/dist/client/types/com/atproto/admin/getUserAccountInfo.d.ts +0 -16
- package/dist/client/types/com/atproto/admin/moderationAction.d.ts +0 -60
- package/dist/client/types/com/atproto/admin/moderationReport.d.ts +0 -37
- package/dist/client/types/com/atproto/admin/rebaseRepo.d.ts +0 -24
- package/dist/client/types/com/atproto/admin/record.d.ts +0 -43
- package/dist/client/types/com/atproto/admin/repo.d.ts +0 -45
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +0 -34
- package/dist/client/types/com/atproto/admin/updateSubjectState.d.ts +0 -32
- package/dist/client/types/com/atproto/blob/upload.d.ts +0 -19
- package/dist/client/types/com/atproto/handle/resolve.d.ts +0 -18
- package/dist/client/types/com/atproto/handle/update.d.ts +0 -17
- package/dist/client/types/com/atproto/repo/batchWrite.d.ts +0 -46
- package/dist/client/types/com/atproto/repo/describe.d.ts +0 -22
- package/dist/client/types/com/atproto/repo/importRepo.d.ts +0 -19
- package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +0 -24
- package/dist/client/types/com/atproto/repo/recordRef.d.ts +0 -8
- package/dist/client/types/com/atproto/repo/repoRef.d.ts +0 -7
- package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +0 -19
- package/dist/client/types/com/atproto/report/create.d.ts +0 -39
- package/dist/client/types/com/atproto/report/reasonType.d.ts +0 -3
- package/dist/client/types/com/atproto/report/subject.d.ts +0 -23
- package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -27
- package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +0 -31
- package/dist/client/types/com/atproto/session/create.d.ts +0 -29
- package/dist/client/types/com/atproto/session/delete.d.ts +0 -13
- package/dist/client/types/com/atproto/session/get.d.ts +0 -18
- package/dist/client/types/com/atproto/session/refresh.d.ts +0 -24
- package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +0 -20
- package/dist/client/types/com/atproto/sync/getCurrent.d.ts +0 -22
- package/dist/client/types/com/atproto/sync/getRoot.d.ts +0 -21
- package/dist/client/types/com/atproto/sync/importRepo.d.ts +0 -16
- package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +0 -9
- package/dist/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
- package/dist/client/types/com/atproto/temp/upgradeRepoVersion.d.ts +0 -18
- package/dist/session.d.ts +0 -42
- package/dist/src/client/index.d.ts +0 -462
- package/dist/src/client/lexicons.d.ts +0 -2910
- package/dist/src/client/schemas.d.ts +0 -17
- package/dist/src/client/types/app/bsky/actor/createScene.d.ts +0 -32
- package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +0 -36
- package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +0 -36
- package/dist/src/client/types/app/bsky/actor/profile.d.ts +0 -15
- package/dist/src/client/types/app/bsky/actor/ref.d.ts +0 -14
- package/dist/src/client/types/app/bsky/actor/search.d.ts +0 -32
- package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -28
- package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +0 -48
- package/dist/src/client/types/app/bsky/badge.d.ts +0 -22
- package/dist/src/client/types/app/bsky/badgeAccept.d.ts +0 -11
- package/dist/src/client/types/app/bsky/badgeOffer.d.ts +0 -11
- package/dist/src/client/types/app/bsky/declaration.d.ts +0 -6
- package/dist/src/client/types/app/bsky/embed/external.d.ts +0 -26
- package/dist/src/client/types/app/bsky/embed/images.d.ts +0 -23
- package/dist/src/client/types/app/bsky/feed/embed.d.ts +0 -36
- package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +0 -26
- package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +0 -22
- package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +0 -43
- package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +0 -35
- package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +0 -22
- package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +0 -33
- package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +0 -18
- package/dist/src/client/types/app/bsky/feed/post.d.ts +0 -54
- package/dist/src/client/types/app/bsky/feed/repost.d.ts +0 -6
- package/dist/src/client/types/app/bsky/feed/setVote.d.ts +0 -25
- package/dist/src/client/types/app/bsky/feed/trend.d.ts +0 -6
- package/dist/src/client/types/app/bsky/feed/vote.d.ts +0 -7
- package/dist/src/client/types/app/bsky/follow.d.ts +0 -9
- package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +0 -56
- package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +0 -29
- package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +0 -56
- package/dist/src/client/types/app/bsky/getLikedBy.d.ts +0 -29
- package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +0 -16
- package/dist/src/client/types/app/bsky/getNotifications.d.ts +0 -33
- package/dist/src/client/types/app/bsky/getPostThread.d.ts +0 -55
- package/dist/src/client/types/app/bsky/getProfile.d.ts +0 -26
- package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +0 -29
- package/dist/src/client/types/app/bsky/getTimeline.d.ts +0 -56
- package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +0 -31
- package/dist/src/client/types/app/bsky/getUserFollows.d.ts +0 -31
- package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +0 -26
- package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +0 -22
- package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
- package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +0 -1
- package/dist/src/client/types/app/bsky/graph/assertion.d.ts +0 -7
- package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +0 -8
- package/dist/src/client/types/app/bsky/graph/follow.d.ts +0 -6
- package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +0 -43
- package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +0 -34
- package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +0 -33
- package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +0 -33
- package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +0 -33
- package/dist/src/client/types/app/bsky/invite.d.ts +0 -10
- package/dist/src/client/types/app/bsky/inviteAccept.d.ts +0 -14
- package/dist/src/client/types/app/bsky/like.d.ts +0 -10
- package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +0 -15
- package/dist/src/client/types/app/bsky/notification/getCount.d.ts +0 -17
- package/dist/src/client/types/app/bsky/notification/list.d.ts +0 -32
- package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +0 -17
- package/dist/src/client/types/app/bsky/post.d.ts +0 -23
- package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +0 -20
- package/dist/src/client/types/app/bsky/profile.d.ts +0 -5
- package/dist/src/client/types/app/bsky/repost.d.ts +0 -10
- package/dist/src/client/types/app/bsky/system/actorScene.d.ts +0 -1
- package/dist/src/client/types/app/bsky/system/actorUser.d.ts +0 -1
- package/dist/src/client/types/app/bsky/system/declRef.d.ts +0 -5
- package/dist/src/client/types/app/bsky/system/declaration.d.ts +0 -4
- package/dist/src/client/types/app/bsky/updateProfile.d.ts +0 -23
- package/dist/src/client/types/com/atproto/account/create.d.ts +0 -41
- package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
- package/dist/src/client/types/com/atproto/account/delete.d.ts +0 -13
- package/dist/src/client/types/com/atproto/account/get.d.ts +0 -12
- package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
- package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +0 -24
- package/dist/src/client/types/com/atproto/blob/upload.d.ts +0 -19
- package/dist/src/client/types/com/atproto/createAccount.d.ts +0 -40
- package/dist/src/client/types/com/atproto/createInviteCode.d.ts +0 -20
- package/dist/src/client/types/com/atproto/createSession.d.ts +0 -24
- package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +0 -19
- package/dist/src/client/types/com/atproto/deleteAccount.d.ts +0 -20
- package/dist/src/client/types/com/atproto/deleteSession.d.ts +0 -17
- package/dist/src/client/types/com/atproto/getAccount.d.ts +0 -16
- package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +0 -17
- package/dist/src/client/types/com/atproto/getSession.d.ts +0 -17
- package/dist/src/client/types/com/atproto/handle/resolve.d.ts +0 -18
- package/dist/src/client/types/com/atproto/refreshSession.d.ts +0 -20
- package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +0 -39
- package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +0 -26
- package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +0 -19
- package/dist/src/client/types/com/atproto/repo/describe.d.ts +0 -22
- package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +0 -23
- package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +0 -30
- package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +0 -27
- package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +0 -5
- package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +0 -36
- package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +0 -24
- package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +0 -18
- package/dist/src/client/types/com/atproto/repoDescribe.d.ts +0 -21
- package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +0 -22
- package/dist/src/client/types/com/atproto/repoListRecords.d.ts +0 -27
- package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +0 -25
- package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +0 -19
- package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +0 -26
- package/dist/src/client/types/com/atproto/resolveHandle.d.ts +0 -17
- package/dist/src/client/types/com/atproto/resolveName.d.ts +0 -17
- package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -24
- package/dist/src/client/types/com/atproto/session/create.d.ts +0 -26
- package/dist/src/client/types/com/atproto/session/delete.d.ts +0 -13
- package/dist/src/client/types/com/atproto/session/get.d.ts +0 -18
- package/dist/src/client/types/com/atproto/session/refresh.d.ts +0 -21
- package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +0 -18
- package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +0 -17
- package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +0 -15
- package/dist/src/index.d.ts +0 -4
- package/dist/src/schemas.d.ts +0 -19
- package/dist/src/session.d.ts +0 -42
- package/dist/src/types/app/bsky/acceptedBadge.d.ts +0 -10
- package/dist/src/types/app/bsky/badge.d.ts +0 -22
- package/dist/src/types/app/bsky/badgeAccept.d.ts +0 -11
- package/dist/src/types/app/bsky/badgeOffer.d.ts +0 -11
- package/dist/src/types/app/bsky/declaration.d.ts +0 -6
- package/dist/src/types/app/bsky/follow.d.ts +0 -9
- package/dist/src/types/app/bsky/getAuthorFeed.d.ts +0 -56
- package/dist/src/types/app/bsky/getBadgeMembers.d.ts +0 -29
- package/dist/src/types/app/bsky/getHomeFeed.d.ts +0 -56
- package/dist/src/types/app/bsky/getLikedBy.d.ts +0 -29
- package/dist/src/types/app/bsky/getNotificationCount.d.ts +0 -16
- package/dist/src/types/app/bsky/getNotifications.d.ts +0 -33
- package/dist/src/types/app/bsky/getPostThread.d.ts +0 -55
- package/dist/src/types/app/bsky/getProfile.d.ts +0 -42
- package/dist/src/types/app/bsky/getRepostedBy.d.ts +0 -29
- package/dist/src/types/app/bsky/getUserFollowers.d.ts +0 -31
- package/dist/src/types/app/bsky/getUserFollows.d.ts +0 -31
- package/dist/src/types/app/bsky/getUsersSearch.d.ts +0 -26
- package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +0 -22
- package/dist/src/types/app/bsky/invite.d.ts +0 -10
- package/dist/src/types/app/bsky/inviteAccept.d.ts +0 -14
- package/dist/src/types/app/bsky/like.d.ts +0 -10
- package/dist/src/types/app/bsky/mediaEmbed.d.ts +0 -15
- package/dist/src/types/app/bsky/post.d.ts +0 -23
- package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +0 -19
- package/dist/src/types/app/bsky/profile.d.ts +0 -11
- package/dist/src/types/app/bsky/repost.d.ts +0 -10
- package/dist/src/types/app/bsky/updateProfile.d.ts +0 -27
- package/dist/src/types/com/atproto/createAccount.d.ts +0 -39
- package/dist/src/types/com/atproto/createInviteCode.d.ts +0 -19
- package/dist/src/types/com/atproto/createSession.d.ts +0 -23
- package/dist/src/types/com/atproto/deleteAccount.d.ts +0 -19
- package/dist/src/types/com/atproto/deleteSession.d.ts +0 -16
- package/dist/src/types/com/atproto/getAccount.d.ts +0 -19
- package/dist/src/types/com/atproto/getAccountsConfig.d.ts +0 -17
- package/dist/src/types/com/atproto/getSession.d.ts +0 -17
- package/dist/src/types/com/atproto/refreshSession.d.ts +0 -19
- package/dist/src/types/com/atproto/repoBatchWrite.d.ts +0 -35
- package/dist/src/types/com/atproto/repoCreateRecord.d.ts +0 -23
- package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +0 -15
- package/dist/src/types/com/atproto/repoDescribe.d.ts +0 -21
- package/dist/src/types/com/atproto/repoGetRecord.d.ts +0 -22
- package/dist/src/types/com/atproto/repoListRecords.d.ts +0 -27
- package/dist/src/types/com/atproto/repoPutRecord.d.ts +0 -24
- package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +0 -18
- package/dist/src/types/com/atproto/resetAccountPassword.d.ts +0 -25
- package/dist/src/types/com/atproto/resolveName.d.ts +0 -17
- package/dist/src/types/com/atproto/syncGetRepo.d.ts +0 -15
- package/dist/src/types/com/atproto/syncGetRoot.d.ts +0 -17
- package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +0 -14
- package/dist/src/types/todo/adx/createAccount.d.ts +0 -36
- package/dist/src/types/todo/adx/createInviteCode.d.ts +0 -19
- package/dist/src/types/todo/adx/createSession.d.ts +0 -22
- package/dist/src/types/todo/adx/deleteAccount.d.ts +0 -19
- package/dist/src/types/todo/adx/deleteSession.d.ts +0 -19
- package/dist/src/types/todo/adx/getAccount.d.ts +0 -19
- package/dist/src/types/todo/adx/getAccountsConfig.d.ts +0 -17
- package/dist/src/types/todo/adx/getSession.d.ts +0 -17
- package/dist/src/types/todo/adx/repoBatchWrite.d.ts +0 -34
- package/dist/src/types/todo/adx/repoCreateRecord.d.ts +0 -22
- package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +0 -15
- package/dist/src/types/todo/adx/repoDescribe.d.ts +0 -21
- package/dist/src/types/todo/adx/repoGetRecord.d.ts +0 -20
- package/dist/src/types/todo/adx/repoListRecords.d.ts +0 -25
- package/dist/src/types/todo/adx/repoPutRecord.d.ts +0 -23
- package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +0 -18
- package/dist/src/types/todo/adx/resetAccountPassword.d.ts +0 -25
- package/dist/src/types/todo/adx/resolveName.d.ts +0 -17
- package/dist/src/types/todo/adx/syncGetRepo.d.ts +0 -15
- package/dist/src/types/todo/adx/syncGetRoot.d.ts +0 -17
- package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +0 -14
- package/dist/src/types/todo/social/badge.d.ts +0 -23
- package/dist/src/types/todo/social/follow.d.ts +0 -5
- package/dist/src/types/todo/social/getAuthorFeed.d.ts +0 -55
- package/dist/src/types/todo/social/getFeed.d.ts +0 -55
- package/dist/src/types/todo/social/getHomeFeed.d.ts +0 -55
- package/dist/src/types/todo/social/getLikedBy.d.ts +0 -26
- package/dist/src/types/todo/social/getNotificationCount.d.ts +0 -16
- package/dist/src/types/todo/social/getNotifications.d.ts +0 -31
- package/dist/src/types/todo/social/getPostThread.d.ts +0 -54
- package/dist/src/types/todo/social/getProfile.d.ts +0 -40
- package/dist/src/types/todo/social/getRepostedBy.d.ts +0 -26
- package/dist/src/types/todo/social/getUserFollowers.d.ts +0 -30
- package/dist/src/types/todo/social/getUserFollows.d.ts +0 -30
- package/dist/src/types/todo/social/like.d.ts +0 -5
- package/dist/src/types/todo/social/mediaEmbed.d.ts +0 -15
- package/dist/src/types/todo/social/post.d.ts +0 -18
- package/dist/src/types/todo/social/postNotificationsSeen.d.ts +0 -19
- package/dist/src/types/todo/social/profile.d.ts +0 -10
- package/dist/src/types/todo/social/repost.d.ts +0 -5
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
2
|
-
import * as ComAtprotoAdminModerationAction from './moderationAction';
|
|
3
|
-
import * as ComAtprotoAdminModerationReport from './moderationReport';
|
|
4
|
-
export interface View {
|
|
5
|
-
did: string;
|
|
6
|
-
handle: string;
|
|
7
|
-
account?: Account;
|
|
8
|
-
relatedRecords: {}[];
|
|
9
|
-
indexedAt: string;
|
|
10
|
-
moderation: Moderation;
|
|
11
|
-
[k: string]: unknown;
|
|
12
|
-
}
|
|
13
|
-
export declare function isView(v: unknown): v is View;
|
|
14
|
-
export declare function validateView(v: unknown): ValidationResult;
|
|
15
|
-
export interface ViewDetail {
|
|
16
|
-
did: string;
|
|
17
|
-
handle: string;
|
|
18
|
-
account?: Account;
|
|
19
|
-
relatedRecords: {}[];
|
|
20
|
-
indexedAt: string;
|
|
21
|
-
moderation: ModerationDetail;
|
|
22
|
-
[k: string]: unknown;
|
|
23
|
-
}
|
|
24
|
-
export declare function isViewDetail(v: unknown): v is ViewDetail;
|
|
25
|
-
export declare function validateViewDetail(v: unknown): ValidationResult;
|
|
26
|
-
export interface Account {
|
|
27
|
-
email: string;
|
|
28
|
-
[k: string]: unknown;
|
|
29
|
-
}
|
|
30
|
-
export declare function isAccount(v: unknown): v is Account;
|
|
31
|
-
export declare function validateAccount(v: unknown): ValidationResult;
|
|
32
|
-
export interface Moderation {
|
|
33
|
-
currentAction?: ComAtprotoAdminModerationAction.ViewCurrent;
|
|
34
|
-
[k: string]: unknown;
|
|
35
|
-
}
|
|
36
|
-
export declare function isModeration(v: unknown): v is Moderation;
|
|
37
|
-
export declare function validateModeration(v: unknown): ValidationResult;
|
|
38
|
-
export interface ModerationDetail {
|
|
39
|
-
currentAction?: ComAtprotoAdminModerationAction.ViewCurrent;
|
|
40
|
-
actions: ComAtprotoAdminModerationAction.View[];
|
|
41
|
-
reports: ComAtprotoAdminModerationReport.View[];
|
|
42
|
-
[k: string]: unknown;
|
|
43
|
-
}
|
|
44
|
-
export declare function isModerationDetail(v: unknown): v is ModerationDetail;
|
|
45
|
-
export declare function validateModerationDetail(v: unknown): ValidationResult;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
3
|
-
import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
|
|
4
|
-
export interface QueryParams {
|
|
5
|
-
}
|
|
6
|
-
export interface InputSchema {
|
|
7
|
-
action: 'com.atproto.admin.defs#takedown' | 'com.atproto.admin.defs#flag' | 'com.atproto.admin.defs#acknowledge' | (string & {});
|
|
8
|
-
subject: ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main | {
|
|
9
|
-
$type: string;
|
|
10
|
-
[k: string]: unknown;
|
|
11
|
-
};
|
|
12
|
-
subjectBlobCids?: string[];
|
|
13
|
-
createLabelVals?: string[];
|
|
14
|
-
negateLabelVals?: string[];
|
|
15
|
-
reason: string;
|
|
16
|
-
durationInHours?: number;
|
|
17
|
-
createdBy: string;
|
|
18
|
-
[k: string]: unknown;
|
|
19
|
-
}
|
|
20
|
-
export declare type OutputSchema = ComAtprotoAdminDefs.ActionView;
|
|
21
|
-
export interface CallOptions {
|
|
22
|
-
headers?: Headers;
|
|
23
|
-
qp?: QueryParams;
|
|
24
|
-
encoding: 'application/json';
|
|
25
|
-
}
|
|
26
|
-
export interface Response {
|
|
27
|
-
success: boolean;
|
|
28
|
-
headers: Headers;
|
|
29
|
-
data: OutputSchema;
|
|
30
|
-
}
|
|
31
|
-
export declare class SubjectHasActionError extends XRPCError {
|
|
32
|
-
constructor(src: XRPCError);
|
|
33
|
-
}
|
|
34
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
3
|
-
import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
|
|
4
|
-
export interface QueryParams {
|
|
5
|
-
}
|
|
6
|
-
export interface InputSchema {
|
|
7
|
-
subject: ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main | ComAtprotoAdminDefs.RepoBlobRef | {
|
|
8
|
-
$type: string;
|
|
9
|
-
[k: string]: unknown;
|
|
10
|
-
};
|
|
11
|
-
takedown?: ComAtprotoAdminDefs.SubjectState;
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
}
|
|
14
|
-
export interface OutputSchema {
|
|
15
|
-
subject: ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main | ComAtprotoAdminDefs.RepoBlobRef | {
|
|
16
|
-
$type: string;
|
|
17
|
-
[k: string]: unknown;
|
|
18
|
-
};
|
|
19
|
-
takedown?: ComAtprotoAdminDefs.SubjectState;
|
|
20
|
-
[k: string]: unknown;
|
|
21
|
-
}
|
|
22
|
-
export interface CallOptions {
|
|
23
|
-
headers?: Headers;
|
|
24
|
-
qp?: QueryParams;
|
|
25
|
-
encoding: 'application/json';
|
|
26
|
-
}
|
|
27
|
-
export interface Response {
|
|
28
|
-
success: boolean;
|
|
29
|
-
headers: Headers;
|
|
30
|
-
data: OutputSchema;
|
|
31
|
-
}
|
|
32
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export declare type InputSchema = string | Uint8Array;
|
|
5
|
-
export interface OutputSchema {
|
|
6
|
-
cid: string;
|
|
7
|
-
[k: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export interface CallOptions {
|
|
10
|
-
headers?: Headers;
|
|
11
|
-
qp?: QueryParams;
|
|
12
|
-
encoding: string;
|
|
13
|
-
}
|
|
14
|
-
export interface Response {
|
|
15
|
-
success: boolean;
|
|
16
|
-
headers: Headers;
|
|
17
|
-
data: OutputSchema;
|
|
18
|
-
}
|
|
19
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
handle?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type InputSchema = undefined;
|
|
6
|
-
export interface OutputSchema {
|
|
7
|
-
did: string;
|
|
8
|
-
[k: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
export interface CallOptions {
|
|
11
|
-
headers?: Headers;
|
|
12
|
-
}
|
|
13
|
-
export interface Response {
|
|
14
|
-
success: boolean;
|
|
15
|
-
headers: Headers;
|
|
16
|
-
data: OutputSchema;
|
|
17
|
-
}
|
|
18
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
handle: string;
|
|
6
|
-
[k: string]: unknown;
|
|
7
|
-
}
|
|
8
|
-
export interface CallOptions {
|
|
9
|
-
headers?: Headers;
|
|
10
|
-
qp?: QueryParams;
|
|
11
|
-
encoding: 'application/json';
|
|
12
|
-
}
|
|
13
|
-
export interface Response {
|
|
14
|
-
success: boolean;
|
|
15
|
-
headers: Headers;
|
|
16
|
-
}
|
|
17
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
}
|
|
5
|
-
export interface InputSchema {
|
|
6
|
-
did: string;
|
|
7
|
-
validate?: boolean;
|
|
8
|
-
writes: (Create | Update | Delete)[];
|
|
9
|
-
[k: string]: unknown;
|
|
10
|
-
}
|
|
11
|
-
export interface CallOptions {
|
|
12
|
-
headers?: Headers;
|
|
13
|
-
qp?: QueryParams;
|
|
14
|
-
encoding: 'application/json';
|
|
15
|
-
}
|
|
16
|
-
export interface Response {
|
|
17
|
-
success: boolean;
|
|
18
|
-
headers: Headers;
|
|
19
|
-
}
|
|
20
|
-
export declare function toKnownErr(e: any): any;
|
|
21
|
-
export interface Create {
|
|
22
|
-
action: 'create';
|
|
23
|
-
collection: string;
|
|
24
|
-
rkey?: string;
|
|
25
|
-
value: {};
|
|
26
|
-
[k: string]: unknown;
|
|
27
|
-
}
|
|
28
|
-
export declare function isCreate(v: unknown): v is Create;
|
|
29
|
-
export declare function validateCreate(v: unknown): ValidationResult;
|
|
30
|
-
export interface Update {
|
|
31
|
-
action: 'update';
|
|
32
|
-
collection: string;
|
|
33
|
-
rkey: string;
|
|
34
|
-
value: {};
|
|
35
|
-
[k: string]: unknown;
|
|
36
|
-
}
|
|
37
|
-
export declare function isUpdate(v: unknown): v is Update;
|
|
38
|
-
export declare function validateUpdate(v: unknown): ValidationResult;
|
|
39
|
-
export interface Delete {
|
|
40
|
-
action: 'delete';
|
|
41
|
-
collection: string;
|
|
42
|
-
rkey: string;
|
|
43
|
-
[k: string]: unknown;
|
|
44
|
-
}
|
|
45
|
-
export declare function isDelete(v: unknown): v is Delete;
|
|
46
|
-
export declare function validateDelete(v: unknown): ValidationResult;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
user: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type InputSchema = undefined;
|
|
6
|
-
export interface OutputSchema {
|
|
7
|
-
handle: string;
|
|
8
|
-
did: string;
|
|
9
|
-
didDoc: {};
|
|
10
|
-
collections: string[];
|
|
11
|
-
handleIsCorrect: boolean;
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
}
|
|
14
|
-
export interface CallOptions {
|
|
15
|
-
headers?: Headers;
|
|
16
|
-
}
|
|
17
|
-
export interface Response {
|
|
18
|
-
success: boolean;
|
|
19
|
-
headers: Headers;
|
|
20
|
-
data: OutputSchema;
|
|
21
|
-
}
|
|
22
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export declare type InputSchema = string | Uint8Array;
|
|
5
|
-
export interface OutputSchema {
|
|
6
|
-
head: string;
|
|
7
|
-
[k: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export interface CallOptions {
|
|
10
|
-
headers?: Headers;
|
|
11
|
-
qp?: QueryParams;
|
|
12
|
-
encoding: 'application/vnd.ipld.car';
|
|
13
|
-
}
|
|
14
|
-
export interface Response {
|
|
15
|
-
success: boolean;
|
|
16
|
-
headers: Headers;
|
|
17
|
-
data: OutputSchema;
|
|
18
|
-
}
|
|
19
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
repo: string;
|
|
6
|
-
swapCommit?: string;
|
|
7
|
-
[k: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export interface CallOptions {
|
|
10
|
-
headers?: Headers;
|
|
11
|
-
qp?: QueryParams;
|
|
12
|
-
encoding: 'application/json';
|
|
13
|
-
}
|
|
14
|
-
export interface Response {
|
|
15
|
-
success: boolean;
|
|
16
|
-
headers: Headers;
|
|
17
|
-
}
|
|
18
|
-
export declare class InvalidSwapError extends XRPCError {
|
|
19
|
-
constructor(src: XRPCError);
|
|
20
|
-
}
|
|
21
|
-
export declare class ConcurrentWritesError extends XRPCError {
|
|
22
|
-
constructor(src: XRPCError);
|
|
23
|
-
}
|
|
24
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export declare type InputSchema = string | Uint8Array;
|
|
5
|
-
export interface OutputSchema {
|
|
6
|
-
head: string;
|
|
7
|
-
[k: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export interface CallOptions {
|
|
10
|
-
headers?: Headers;
|
|
11
|
-
qp?: QueryParams;
|
|
12
|
-
encoding: 'application/vnd.ipld.car';
|
|
13
|
-
}
|
|
14
|
-
export interface Response {
|
|
15
|
-
success: boolean;
|
|
16
|
-
headers: Headers;
|
|
17
|
-
data: OutputSchema;
|
|
18
|
-
}
|
|
19
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as ComAtprotoReportReasonType from './reasonType';
|
|
3
|
-
import * as ComAtprotoRepoRepoRef from '../repo/repoRef';
|
|
4
|
-
import * as ComAtprotoRepoRecordRef from '../repo/recordRef';
|
|
5
|
-
import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
|
|
6
|
-
export interface QueryParams {
|
|
7
|
-
}
|
|
8
|
-
export interface InputSchema {
|
|
9
|
-
reasonType: ComAtprotoReportReasonType.Main;
|
|
10
|
-
reason?: string;
|
|
11
|
-
subject: ComAtprotoRepoRepoRef.Main | ComAtprotoRepoRecordRef.Main | {
|
|
12
|
-
$type: string;
|
|
13
|
-
[k: string]: unknown;
|
|
14
|
-
};
|
|
15
|
-
[k: string]: unknown;
|
|
16
|
-
}
|
|
17
|
-
export interface OutputSchema {
|
|
18
|
-
id: number;
|
|
19
|
-
reasonType: ComAtprotoReportReasonType.Main;
|
|
20
|
-
reason?: string;
|
|
21
|
-
subject: ComAtprotoRepoRepoRef.Main | ComAtprotoRepoStrongRef.Main | {
|
|
22
|
-
$type: string;
|
|
23
|
-
[k: string]: unknown;
|
|
24
|
-
};
|
|
25
|
-
reportedByDid: string;
|
|
26
|
-
createdAt: string;
|
|
27
|
-
[k: string]: unknown;
|
|
28
|
-
}
|
|
29
|
-
export interface CallOptions {
|
|
30
|
-
headers?: Headers;
|
|
31
|
-
qp?: QueryParams;
|
|
32
|
-
encoding: 'application/json';
|
|
33
|
-
}
|
|
34
|
-
export interface Response {
|
|
35
|
-
success: boolean;
|
|
36
|
-
headers: Headers;
|
|
37
|
-
data: OutputSchema;
|
|
38
|
-
}
|
|
39
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
2
|
-
export interface Repo {
|
|
3
|
-
did: string;
|
|
4
|
-
[k: string]: unknown;
|
|
5
|
-
}
|
|
6
|
-
export declare function isRepo(v: unknown): v is Repo;
|
|
7
|
-
export declare function validateRepo(v: unknown): ValidationResult;
|
|
8
|
-
export interface Record {
|
|
9
|
-
did: string;
|
|
10
|
-
collection: string;
|
|
11
|
-
rkey: string;
|
|
12
|
-
cid?: string;
|
|
13
|
-
[k: string]: unknown;
|
|
14
|
-
}
|
|
15
|
-
export declare function isRecord(v: unknown): v is Record;
|
|
16
|
-
export declare function validateRecord(v: unknown): ValidationResult;
|
|
17
|
-
export interface RecordRef {
|
|
18
|
-
uri: string;
|
|
19
|
-
cid: string;
|
|
20
|
-
[k: string]: unknown;
|
|
21
|
-
}
|
|
22
|
-
export declare function isRecordRef(v: unknown): v is RecordRef;
|
|
23
|
-
export declare function validateRecordRef(v: unknown): ValidationResult;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
}
|
|
5
|
-
export declare type InputSchema = undefined;
|
|
6
|
-
export interface OutputSchema {
|
|
7
|
-
inviteCodeRequired?: boolean;
|
|
8
|
-
availableUserDomains: string[];
|
|
9
|
-
links?: Links;
|
|
10
|
-
[k: string]: unknown;
|
|
11
|
-
}
|
|
12
|
-
export interface CallOptions {
|
|
13
|
-
headers?: Headers;
|
|
14
|
-
}
|
|
15
|
-
export interface Response {
|
|
16
|
-
success: boolean;
|
|
17
|
-
headers: Headers;
|
|
18
|
-
data: OutputSchema;
|
|
19
|
-
}
|
|
20
|
-
export declare function toKnownErr(e: any): any;
|
|
21
|
-
export interface Links {
|
|
22
|
-
privacyPolicy?: string;
|
|
23
|
-
termsOfService?: string;
|
|
24
|
-
[k: string]: unknown;
|
|
25
|
-
}
|
|
26
|
-
export declare function isLinks(v: unknown): v is Links;
|
|
27
|
-
export declare function validateLinks(v: unknown): ValidationResult;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
includeUsed?: boolean;
|
|
5
|
-
createAvailable?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare type InputSchema = undefined;
|
|
8
|
-
export interface OutputSchema {
|
|
9
|
-
codes: Invite[];
|
|
10
|
-
[k: string]: unknown;
|
|
11
|
-
}
|
|
12
|
-
export interface CallOptions {
|
|
13
|
-
headers?: Headers;
|
|
14
|
-
}
|
|
15
|
-
export interface Response {
|
|
16
|
-
success: boolean;
|
|
17
|
-
headers: Headers;
|
|
18
|
-
data: OutputSchema;
|
|
19
|
-
}
|
|
20
|
-
export declare class DuplicateCreateError extends XRPCError {
|
|
21
|
-
constructor(src: XRPCError);
|
|
22
|
-
}
|
|
23
|
-
export declare function toKnownErr(e: any): any;
|
|
24
|
-
export interface Invite {
|
|
25
|
-
code: string;
|
|
26
|
-
available: number;
|
|
27
|
-
uses: number;
|
|
28
|
-
[k: string]: unknown;
|
|
29
|
-
}
|
|
30
|
-
export declare function isInvite(v: unknown): v is Invite;
|
|
31
|
-
export declare function validateInvite(v: unknown): ValidationResult;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
identifier?: string;
|
|
6
|
-
password: string;
|
|
7
|
-
[k: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export interface OutputSchema {
|
|
10
|
-
accessJwt: string;
|
|
11
|
-
refreshJwt: string;
|
|
12
|
-
handle: string;
|
|
13
|
-
did: string;
|
|
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 AccountTakedownError extends XRPCError {
|
|
27
|
-
constructor(src: XRPCError);
|
|
28
|
-
}
|
|
29
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export declare type InputSchema = undefined;
|
|
5
|
-
export interface CallOptions {
|
|
6
|
-
headers?: Headers;
|
|
7
|
-
qp?: QueryParams;
|
|
8
|
-
}
|
|
9
|
-
export interface Response {
|
|
10
|
-
success: boolean;
|
|
11
|
-
headers: Headers;
|
|
12
|
-
}
|
|
13
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export declare type InputSchema = undefined;
|
|
5
|
-
export interface OutputSchema {
|
|
6
|
-
handle: string;
|
|
7
|
-
did: string;
|
|
8
|
-
[k: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
export interface CallOptions {
|
|
11
|
-
headers?: Headers;
|
|
12
|
-
}
|
|
13
|
-
export interface Response {
|
|
14
|
-
success: boolean;
|
|
15
|
-
headers: Headers;
|
|
16
|
-
data: OutputSchema;
|
|
17
|
-
}
|
|
18
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export declare type InputSchema = undefined;
|
|
5
|
-
export interface OutputSchema {
|
|
6
|
-
accessJwt: string;
|
|
7
|
-
refreshJwt: string;
|
|
8
|
-
handle: string;
|
|
9
|
-
did: string;
|
|
10
|
-
[k: string]: unknown;
|
|
11
|
-
}
|
|
12
|
-
export interface CallOptions {
|
|
13
|
-
headers?: Headers;
|
|
14
|
-
qp?: QueryParams;
|
|
15
|
-
}
|
|
16
|
-
export interface Response {
|
|
17
|
-
success: boolean;
|
|
18
|
-
headers: Headers;
|
|
19
|
-
data: OutputSchema;
|
|
20
|
-
}
|
|
21
|
-
export declare class AccountTakedownError extends XRPCError {
|
|
22
|
-
constructor(src: XRPCError);
|
|
23
|
-
}
|
|
24
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
did: string;
|
|
4
|
-
latest?: string;
|
|
5
|
-
earliest?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare type InputSchema = undefined;
|
|
8
|
-
export interface OutputSchema {
|
|
9
|
-
commits: string[];
|
|
10
|
-
[k: string]: unknown;
|
|
11
|
-
}
|
|
12
|
-
export interface CallOptions {
|
|
13
|
-
headers?: Headers;
|
|
14
|
-
}
|
|
15
|
-
export interface Response {
|
|
16
|
-
success: boolean;
|
|
17
|
-
headers: Headers;
|
|
18
|
-
data: OutputSchema;
|
|
19
|
-
}
|
|
20
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
did: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type InputSchema = undefined;
|
|
6
|
-
export interface OutputSchema {
|
|
7
|
-
cid: string;
|
|
8
|
-
rev: string;
|
|
9
|
-
[k: string]: unknown;
|
|
10
|
-
}
|
|
11
|
-
export interface CallOptions {
|
|
12
|
-
headers?: Headers;
|
|
13
|
-
}
|
|
14
|
-
export interface Response {
|
|
15
|
-
success: boolean;
|
|
16
|
-
headers: Headers;
|
|
17
|
-
data: OutputSchema;
|
|
18
|
-
}
|
|
19
|
-
export declare class RepoNotFoundError extends XRPCError {
|
|
20
|
-
constructor(src: XRPCError);
|
|
21
|
-
}
|
|
22
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
did: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type InputSchema = undefined;
|
|
6
|
-
export interface OutputSchema {
|
|
7
|
-
root: string;
|
|
8
|
-
[k: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
export interface CallOptions {
|
|
11
|
-
headers?: Headers;
|
|
12
|
-
}
|
|
13
|
-
export interface Response {
|
|
14
|
-
success: boolean;
|
|
15
|
-
headers: Headers;
|
|
16
|
-
data: OutputSchema;
|
|
17
|
-
}
|
|
18
|
-
export declare class RootNotFoundError extends XRPCError {
|
|
19
|
-
constructor(src: XRPCError);
|
|
20
|
-
}
|
|
21
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
did: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type InputSchema = string | Uint8Array;
|
|
6
|
-
export interface CallOptions {
|
|
7
|
-
headers?: Headers;
|
|
8
|
-
qp?: QueryParams;
|
|
9
|
-
encoding: 'application/vnd.ipld.car';
|
|
10
|
-
}
|
|
11
|
-
export interface Response {
|
|
12
|
-
success: boolean;
|
|
13
|
-
headers: Headers;
|
|
14
|
-
data: Uint8Array;
|
|
15
|
-
}
|
|
16
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
2
|
-
export interface RepoOp {
|
|
3
|
-
action: 'create' | 'update' | 'delete' | (string & {});
|
|
4
|
-
path: string;
|
|
5
|
-
cid: string | null;
|
|
6
|
-
[k: string]: unknown;
|
|
7
|
-
}
|
|
8
|
-
export declare function isRepoOp(v: unknown): v is RepoOp;
|
|
9
|
-
export declare function validateRepoOp(v: unknown): ValidationResult;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
did: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type InputSchema = string | Uint8Array;
|
|
6
|
-
export interface CallOptions {
|
|
7
|
-
headers?: Headers;
|
|
8
|
-
qp?: QueryParams;
|
|
9
|
-
encoding: 'application/cbor';
|
|
10
|
-
}
|
|
11
|
-
export interface Response {
|
|
12
|
-
success: boolean;
|
|
13
|
-
headers: Headers;
|
|
14
|
-
}
|
|
15
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
did: string;
|
|
6
|
-
force?: boolean;
|
|
7
|
-
[k: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export interface CallOptions {
|
|
10
|
-
headers?: Headers;
|
|
11
|
-
qp?: QueryParams;
|
|
12
|
-
encoding: 'application/json';
|
|
13
|
-
}
|
|
14
|
-
export interface Response {
|
|
15
|
-
success: boolean;
|
|
16
|
-
headers: Headers;
|
|
17
|
-
}
|
|
18
|
-
export declare function toKnownErr(e: any): any;
|