@atproto/api 0.3.12 → 0.4.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/dist/client/index.d.ts +5 -2
- package/dist/client/lexicons.d.ts +86 -14
- package/dist/client/types/app/bsky/actor/createScene.d.ts +32 -0
- 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/searchTypeahead.d.ts +20 -0
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +47 -0
- package/dist/client/types/app/bsky/embed/record.d.ts +2 -1
- package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/defs.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +28 -0
- package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getSavedFeeds.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getVotes.d.ts +36 -0
- package/dist/client/types/app/bsky/feed/post.d.ts +1 -0
- package/dist/client/types/app/bsky/feed/saveFeed.d.ts +17 -0
- 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 +2 -0
- package/dist/client/types/app/bsky/graph/getAssertions.d.ts +48 -0
- 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/mute.d.ts +17 -0
- package/dist/client/types/app/bsky/graph/unmute.d.ts +17 -0
- package/dist/client/types/app/bsky/notification/getCount.d.ts +17 -0
- package/dist/client/types/app/bsky/notification/list.d.ts +35 -0
- 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/getTimelineSkeleton.d.ts +24 -0
- 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/getInviteCodeUsage.d.ts +29 -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/record.d.ts +43 -0
- package/dist/client/types/com/atproto/admin/repo.d.ts +45 -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/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/importRepo.d.ts +19 -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/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/getAccountsConfig.d.ts +27 -0
- package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +31 -0
- 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/getHead.d.ts +4 -1
- package/dist/client/types/com/atproto/sync/getRoot.d.ts +18 -0
- package/dist/client/types/com/atproto/sync/notifyOfUpdate.d.ts +5 -1
- package/dist/client/types/com/atproto/sync/requestCrawl.d.ts +5 -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/index.d.ts +1 -0
- package/dist/index.js +171 -27
- package/dist/index.js.map +4 -4
- 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/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +1 -1
- package/src/client/index.ts +17 -4
- package/src/client/lexicons.ts +98 -21
- package/src/client/types/app/bsky/embed/record.ts +2 -0
- package/src/client/types/app/bsky/feed/defs.ts +1 -1
- package/src/client/types/app/bsky/feed/post.ts +1 -0
- package/src/client/types/app/bsky/graph/defs.ts +2 -0
- package/src/client/types/app/bsky/unspecced/getTimelineSkeleton.ts +45 -0
- package/src/client/types/com/atproto/sync/getHead.ts +7 -0
- package/src/client/types/com/atproto/sync/notifyOfUpdate.ts +6 -3
- package/src/client/types/com/atproto/sync/requestCrawl.ts +6 -3
- package/src/index.ts +1 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface Record {
|
|
2
|
+
media: MediaEmbed[];
|
|
3
|
+
[k: string]: unknown;
|
|
4
|
+
}
|
|
5
|
+
export interface MediaEmbed {
|
|
6
|
+
alt?: string;
|
|
7
|
+
thumb?: MediaEmbedBlob;
|
|
8
|
+
original: MediaEmbedBlob;
|
|
9
|
+
[k: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
export interface MediaEmbedBlob {
|
|
12
|
+
mimeType: string;
|
|
13
|
+
blobId: string;
|
|
14
|
+
[k: string]: unknown;
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare type TextSlice = [number, number];
|
|
2
|
+
export declare type Entity = {
|
|
3
|
+
index: TextSlice;
|
|
4
|
+
type: string;
|
|
5
|
+
value: string;
|
|
6
|
+
[k: string]: unknown;
|
|
7
|
+
}[];
|
|
8
|
+
export interface Record {
|
|
9
|
+
text: string;
|
|
10
|
+
entities?: Entity;
|
|
11
|
+
reply?: {
|
|
12
|
+
root: PostRef;
|
|
13
|
+
parent: PostRef;
|
|
14
|
+
[k: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
createdAt: string;
|
|
17
|
+
[k: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface PostRef {
|
|
20
|
+
uri: string;
|
|
21
|
+
cid: string;
|
|
22
|
+
[k: string]: unknown;
|
|
23
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
encoding: 'application/json';
|
|
7
|
+
}
|
|
8
|
+
export interface InputSchema {
|
|
9
|
+
seenAt: string;
|
|
10
|
+
}
|
|
11
|
+
export interface OutputSchema {
|
|
12
|
+
[k: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
export interface Response {
|
|
15
|
+
success: boolean;
|
|
16
|
+
headers: Headers;
|
|
17
|
+
data: OutputSchema;
|
|
18
|
+
}
|
|
19
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
encoding: 'application/json';
|
|
7
|
+
}
|
|
8
|
+
export interface InputSchema {
|
|
9
|
+
displayName?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
pinnedBadges?: BadgeRef[];
|
|
12
|
+
}
|
|
13
|
+
export interface BadgeRef {
|
|
14
|
+
uri: string;
|
|
15
|
+
cid: string;
|
|
16
|
+
}
|
|
17
|
+
export interface OutputSchema {
|
|
18
|
+
uri: string;
|
|
19
|
+
cid: string;
|
|
20
|
+
record: {};
|
|
21
|
+
}
|
|
22
|
+
export interface Response {
|
|
23
|
+
success: boolean;
|
|
24
|
+
headers: Headers;
|
|
25
|
+
data: OutputSchema;
|
|
26
|
+
}
|
|
27
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
encoding: 'application/json';
|
|
7
|
+
}
|
|
8
|
+
export interface InputSchema {
|
|
9
|
+
email: string;
|
|
10
|
+
username: string;
|
|
11
|
+
inviteCode?: string;
|
|
12
|
+
password: string;
|
|
13
|
+
recoveryKey?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface OutputSchema {
|
|
16
|
+
accessJwt: string;
|
|
17
|
+
refreshJwt: string;
|
|
18
|
+
username: string;
|
|
19
|
+
did: string;
|
|
20
|
+
declarationCid: string;
|
|
21
|
+
}
|
|
22
|
+
export interface Response {
|
|
23
|
+
success: boolean;
|
|
24
|
+
headers: Headers;
|
|
25
|
+
data: OutputSchema;
|
|
26
|
+
}
|
|
27
|
+
export declare class InvalidUsernameError extends XRPCError {
|
|
28
|
+
constructor(src: XRPCError);
|
|
29
|
+
}
|
|
30
|
+
export declare class InvalidPasswordError extends XRPCError {
|
|
31
|
+
constructor(src: XRPCError);
|
|
32
|
+
}
|
|
33
|
+
export declare class InvalidInviteCodeError extends XRPCError {
|
|
34
|
+
constructor(src: XRPCError);
|
|
35
|
+
}
|
|
36
|
+
export declare class UsernameNotAvailableError extends XRPCError {
|
|
37
|
+
constructor(src: XRPCError);
|
|
38
|
+
}
|
|
39
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
encoding: 'application/json';
|
|
7
|
+
}
|
|
8
|
+
export interface InputSchema {
|
|
9
|
+
useCount: number;
|
|
10
|
+
}
|
|
11
|
+
export interface OutputSchema {
|
|
12
|
+
code: string;
|
|
13
|
+
}
|
|
14
|
+
export interface Response {
|
|
15
|
+
success: boolean;
|
|
16
|
+
headers: Headers;
|
|
17
|
+
data: OutputSchema;
|
|
18
|
+
}
|
|
19
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
encoding: 'application/json';
|
|
7
|
+
}
|
|
8
|
+
export interface InputSchema {
|
|
9
|
+
username: string;
|
|
10
|
+
password: string;
|
|
11
|
+
}
|
|
12
|
+
export interface OutputSchema {
|
|
13
|
+
accessJwt: string;
|
|
14
|
+
refreshJwt: string;
|
|
15
|
+
name: string;
|
|
16
|
+
did: string;
|
|
17
|
+
}
|
|
18
|
+
export interface Response {
|
|
19
|
+
success: boolean;
|
|
20
|
+
headers: Headers;
|
|
21
|
+
data: OutputSchema;
|
|
22
|
+
}
|
|
23
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
encoding: '';
|
|
7
|
+
}
|
|
8
|
+
export interface InputSchema {
|
|
9
|
+
[k: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
export interface OutputSchema {
|
|
12
|
+
[k: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
export interface Response {
|
|
15
|
+
success: boolean;
|
|
16
|
+
headers: Headers;
|
|
17
|
+
data: OutputSchema;
|
|
18
|
+
}
|
|
19
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
}
|
|
7
|
+
export declare type InputSchema = undefined;
|
|
8
|
+
export interface OutputSchema {
|
|
9
|
+
[k: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
export interface Response {
|
|
12
|
+
success: boolean;
|
|
13
|
+
headers: Headers;
|
|
14
|
+
data: OutputSchema;
|
|
15
|
+
}
|
|
16
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
encoding: '';
|
|
7
|
+
}
|
|
8
|
+
export interface InputSchema {
|
|
9
|
+
[k: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
export interface OutputSchema {
|
|
12
|
+
[k: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
export interface Response {
|
|
15
|
+
success: boolean;
|
|
16
|
+
headers: Headers;
|
|
17
|
+
data: OutputSchema;
|
|
18
|
+
}
|
|
19
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
}
|
|
7
|
+
export declare type InputSchema = undefined;
|
|
8
|
+
export interface OutputSchema {
|
|
9
|
+
inviteCodeRequired?: boolean;
|
|
10
|
+
availableUserDomains: string[];
|
|
11
|
+
}
|
|
12
|
+
export interface Response {
|
|
13
|
+
success: boolean;
|
|
14
|
+
headers: Headers;
|
|
15
|
+
data: OutputSchema;
|
|
16
|
+
}
|
|
17
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
}
|
|
7
|
+
export declare type InputSchema = undefined;
|
|
8
|
+
export interface OutputSchema {
|
|
9
|
+
name: string;
|
|
10
|
+
did: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Response {
|
|
13
|
+
success: boolean;
|
|
14
|
+
headers: Headers;
|
|
15
|
+
data: OutputSchema;
|
|
16
|
+
}
|
|
17
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
}
|
|
7
|
+
export declare type InputSchema = undefined;
|
|
8
|
+
export interface OutputSchema {
|
|
9
|
+
accessJwt: string;
|
|
10
|
+
refreshJwt: string;
|
|
11
|
+
name: string;
|
|
12
|
+
did: string;
|
|
13
|
+
}
|
|
14
|
+
export interface Response {
|
|
15
|
+
success: boolean;
|
|
16
|
+
headers: Headers;
|
|
17
|
+
data: OutputSchema;
|
|
18
|
+
}
|
|
19
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
did: string;
|
|
4
|
+
validate?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface CallOptions {
|
|
7
|
+
headers?: Headers;
|
|
8
|
+
encoding: 'application/json';
|
|
9
|
+
}
|
|
10
|
+
export interface InputSchema {
|
|
11
|
+
writes: ({
|
|
12
|
+
action: 'create';
|
|
13
|
+
collection: string;
|
|
14
|
+
rkey?: string;
|
|
15
|
+
value: unknown;
|
|
16
|
+
} | {
|
|
17
|
+
action: 'update';
|
|
18
|
+
collection: string;
|
|
19
|
+
rkey: string;
|
|
20
|
+
value: unknown;
|
|
21
|
+
} | {
|
|
22
|
+
action: 'delete';
|
|
23
|
+
collection: string;
|
|
24
|
+
rkey: string;
|
|
25
|
+
})[];
|
|
26
|
+
}
|
|
27
|
+
export interface OutputSchema {
|
|
28
|
+
[k: string]: unknown;
|
|
29
|
+
}
|
|
30
|
+
export interface Response {
|
|
31
|
+
success: boolean;
|
|
32
|
+
headers: Headers;
|
|
33
|
+
data: OutputSchema;
|
|
34
|
+
}
|
|
35
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
did: string;
|
|
4
|
+
collection: string;
|
|
5
|
+
validate?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface CallOptions {
|
|
8
|
+
headers?: Headers;
|
|
9
|
+
encoding: 'application/json';
|
|
10
|
+
}
|
|
11
|
+
export interface InputSchema {
|
|
12
|
+
[k: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
export interface OutputSchema {
|
|
15
|
+
uri: string;
|
|
16
|
+
cid: string;
|
|
17
|
+
}
|
|
18
|
+
export interface Response {
|
|
19
|
+
success: boolean;
|
|
20
|
+
headers: Headers;
|
|
21
|
+
data: OutputSchema;
|
|
22
|
+
}
|
|
23
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
did: string;
|
|
4
|
+
collection: string;
|
|
5
|
+
rkey: string;
|
|
6
|
+
}
|
|
7
|
+
export interface CallOptions {
|
|
8
|
+
headers?: Headers;
|
|
9
|
+
}
|
|
10
|
+
export declare type InputSchema = undefined;
|
|
11
|
+
export interface Response {
|
|
12
|
+
success: boolean;
|
|
13
|
+
headers: Headers;
|
|
14
|
+
}
|
|
15
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
user: string;
|
|
4
|
+
}
|
|
5
|
+
export interface CallOptions {
|
|
6
|
+
headers?: Headers;
|
|
7
|
+
}
|
|
8
|
+
export declare type InputSchema = undefined;
|
|
9
|
+
export interface OutputSchema {
|
|
10
|
+
name: string;
|
|
11
|
+
did: string;
|
|
12
|
+
didDoc: {};
|
|
13
|
+
collections: string[];
|
|
14
|
+
nameIsCorrect: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface Response {
|
|
17
|
+
success: boolean;
|
|
18
|
+
headers: Headers;
|
|
19
|
+
data: OutputSchema;
|
|
20
|
+
}
|
|
21
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
user: string;
|
|
4
|
+
collection: string;
|
|
5
|
+
rkey: string;
|
|
6
|
+
cid?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface CallOptions {
|
|
9
|
+
headers?: Headers;
|
|
10
|
+
}
|
|
11
|
+
export declare type InputSchema = undefined;
|
|
12
|
+
export interface OutputSchema {
|
|
13
|
+
uri: string;
|
|
14
|
+
cid?: string;
|
|
15
|
+
value: {};
|
|
16
|
+
}
|
|
17
|
+
export interface Response {
|
|
18
|
+
success: boolean;
|
|
19
|
+
headers: Headers;
|
|
20
|
+
data: OutputSchema;
|
|
21
|
+
}
|
|
22
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
user: string;
|
|
4
|
+
collection: string;
|
|
5
|
+
limit?: number;
|
|
6
|
+
before?: string;
|
|
7
|
+
after?: string;
|
|
8
|
+
reverse?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface CallOptions {
|
|
11
|
+
headers?: Headers;
|
|
12
|
+
}
|
|
13
|
+
export declare type InputSchema = undefined;
|
|
14
|
+
export interface OutputSchema {
|
|
15
|
+
cursor?: string;
|
|
16
|
+
records: {
|
|
17
|
+
uri: string;
|
|
18
|
+
cid: string;
|
|
19
|
+
value: {};
|
|
20
|
+
}[];
|
|
21
|
+
}
|
|
22
|
+
export interface Response {
|
|
23
|
+
success: boolean;
|
|
24
|
+
headers: Headers;
|
|
25
|
+
data: OutputSchema;
|
|
26
|
+
}
|
|
27
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
did: string;
|
|
4
|
+
collection: string;
|
|
5
|
+
rkey: string;
|
|
6
|
+
validate?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface CallOptions {
|
|
9
|
+
headers?: Headers;
|
|
10
|
+
encoding: 'application/json';
|
|
11
|
+
}
|
|
12
|
+
export interface InputSchema {
|
|
13
|
+
[k: string]: unknown;
|
|
14
|
+
}
|
|
15
|
+
export interface OutputSchema {
|
|
16
|
+
uri: string;
|
|
17
|
+
cid: string;
|
|
18
|
+
}
|
|
19
|
+
export interface Response {
|
|
20
|
+
success: boolean;
|
|
21
|
+
headers: Headers;
|
|
22
|
+
data: OutputSchema;
|
|
23
|
+
}
|
|
24
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
encoding: 'application/json';
|
|
7
|
+
}
|
|
8
|
+
export interface InputSchema {
|
|
9
|
+
email: string;
|
|
10
|
+
}
|
|
11
|
+
export interface OutputSchema {
|
|
12
|
+
}
|
|
13
|
+
export interface Response {
|
|
14
|
+
success: boolean;
|
|
15
|
+
headers: Headers;
|
|
16
|
+
data: OutputSchema;
|
|
17
|
+
}
|
|
18
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
encoding: 'application/json';
|
|
7
|
+
}
|
|
8
|
+
export interface InputSchema {
|
|
9
|
+
token: string;
|
|
10
|
+
password: string;
|
|
11
|
+
}
|
|
12
|
+
export interface OutputSchema {
|
|
13
|
+
}
|
|
14
|
+
export interface Response {
|
|
15
|
+
success: boolean;
|
|
16
|
+
headers: Headers;
|
|
17
|
+
data: OutputSchema;
|
|
18
|
+
}
|
|
19
|
+
export declare class ExpiredTokenError extends XRPCError {
|
|
20
|
+
constructor(src: XRPCError);
|
|
21
|
+
}
|
|
22
|
+
export declare class InvalidTokenError extends XRPCError {
|
|
23
|
+
constructor(src: XRPCError);
|
|
24
|
+
}
|
|
25
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
name?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface CallOptions {
|
|
6
|
+
headers?: Headers;
|
|
7
|
+
}
|
|
8
|
+
export declare type InputSchema = undefined;
|
|
9
|
+
export interface OutputSchema {
|
|
10
|
+
did: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Response {
|
|
13
|
+
success: boolean;
|
|
14
|
+
headers: Headers;
|
|
15
|
+
data: OutputSchema;
|
|
16
|
+
}
|
|
17
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
did: string;
|
|
4
|
+
from?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface CallOptions {
|
|
7
|
+
headers?: Headers;
|
|
8
|
+
}
|
|
9
|
+
export declare type InputSchema = undefined;
|
|
10
|
+
export interface Response {
|
|
11
|
+
success: boolean;
|
|
12
|
+
headers: Headers;
|
|
13
|
+
data: Uint8Array;
|
|
14
|
+
}
|
|
15
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
did: string;
|
|
4
|
+
}
|
|
5
|
+
export interface CallOptions {
|
|
6
|
+
headers?: Headers;
|
|
7
|
+
}
|
|
8
|
+
export declare type InputSchema = undefined;
|
|
9
|
+
export interface OutputSchema {
|
|
10
|
+
root: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Response {
|
|
13
|
+
success: boolean;
|
|
14
|
+
headers: Headers;
|
|
15
|
+
data: OutputSchema;
|
|
16
|
+
}
|
|
17
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
did: string;
|
|
4
|
+
}
|
|
5
|
+
export interface CallOptions {
|
|
6
|
+
headers?: Headers;
|
|
7
|
+
encoding: 'application/cbor';
|
|
8
|
+
}
|
|
9
|
+
export declare type InputSchema = string | Uint8Array;
|
|
10
|
+
export interface Response {
|
|
11
|
+
success: boolean;
|
|
12
|
+
headers: Headers;
|
|
13
|
+
}
|
|
14
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Headers, XRPCError } from '@adxp/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface CallOptions {
|
|
5
|
+
headers?: Headers;
|
|
6
|
+
encoding: 'application/json';
|
|
7
|
+
}
|
|
8
|
+
export interface InputSchema {
|
|
9
|
+
email: string;
|
|
10
|
+
username: string;
|
|
11
|
+
inviteCode?: string;
|
|
12
|
+
password: string;
|
|
13
|
+
}
|
|
14
|
+
export interface OutputSchema {
|
|
15
|
+
jwt: string;
|
|
16
|
+
username: string;
|
|
17
|
+
did: string;
|
|
18
|
+
}
|
|
19
|
+
export interface Response {
|
|
20
|
+
success: boolean;
|
|
21
|
+
headers: Headers;
|
|
22
|
+
data: OutputSchema;
|
|
23
|
+
}
|
|
24
|
+
export declare class InvalidUsernameError extends XRPCError {
|
|
25
|
+
constructor(src: XRPCError);
|
|
26
|
+
}
|
|
27
|
+
export declare class InvalidPasswordError extends XRPCError {
|
|
28
|
+
constructor(src: XRPCError);
|
|
29
|
+
}
|
|
30
|
+
export declare class InvalidInviteCodeError extends XRPCError {
|
|
31
|
+
constructor(src: XRPCError);
|
|
32
|
+
}
|
|
33
|
+
export declare class UsernameNotAvailableError extends XRPCError {
|
|
34
|
+
constructor(src: XRPCError);
|
|
35
|
+
}
|
|
36
|
+
export declare function toKnownErr(e: any): any;
|