@atproto/api 0.0.6 → 0.0.7
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 +72 -44
- package/dist/client/lexicons.d.ts +1034 -398
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +0 -2
- package/dist/client/types/app/bsky/actor/search.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -1
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +1 -8
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -0
- package/dist/client/types/app/bsky/notification/list.d.ts +1 -1
- package/dist/client/types/app/bsky/system/declRef.d.ts +1 -1
- package/dist/client/types/app/bsky/system/declaration.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/getModerationReport.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +23 -0
- package/dist/client/types/com/atproto/admin/getRecord.d.ts +17 -0
- package/dist/client/types/com/atproto/admin/getRepo.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/moderationAction.d.ts +49 -0
- package/dist/client/types/com/atproto/admin/moderationReport.d.ts +37 -0
- package/dist/client/types/com/atproto/admin/record.d.ts +40 -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 +22 -0
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +28 -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/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/session/create.d.ts +5 -2
- package/dist/client/types/com/atproto/session/refresh.d.ts +4 -1
- package/dist/client/types/com/atproto/sync/getCheckout.d.ts +15 -0
- package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +20 -0
- package/dist/client/types/com/atproto/sync/getHead.d.ts +18 -0
- package/dist/client/types/com/atproto/sync/getRecord.d.ts +17 -0
- package/dist/index.js +1990 -990
- package/dist/index.js.map +4 -4
- package/dist/src/client/index.d.ts +474 -0
- package/dist/src/client/lexicons.d.ts +3036 -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/administration/moderationAction.d.ts +16 -0
- package/dist/src/client/types/app/bsky/administration/reverseModerationAction.d.ts +22 -0
- package/dist/src/client/types/app/bsky/administration/takeModerationAction.d.ts +27 -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 +15 -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 +29 -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 +24 -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/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/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +1 -1
- package/src/client/index.ts +236 -142
- package/src/client/lexicons.ts +1151 -443
- package/src/client/types/app/bsky/actor/getProfile.ts +0 -2
- package/src/client/types/app/bsky/actor/search.ts +1 -1
- package/src/client/types/app/bsky/actor/searchTypeahead.ts +1 -1
- package/src/client/types/app/bsky/actor/updateProfile.ts +0 -1
- package/src/client/types/app/bsky/feed/feedViewPost.ts +1 -19
- package/src/client/types/app/bsky/graph/getFollows.ts +1 -0
- package/src/client/types/app/bsky/notification/list.ts +1 -2
- package/src/client/types/app/bsky/system/declRef.ts +1 -4
- package/src/client/types/app/bsky/system/declaration.ts +1 -4
- package/src/client/types/com/atproto/admin/getModerationAction.ts +31 -0
- package/src/client/types/com/atproto/admin/getModerationActions.ts +38 -0
- package/src/client/types/com/atproto/admin/getModerationReport.ts +31 -0
- package/src/client/types/com/atproto/admin/getModerationReports.ts +39 -0
- package/src/client/types/com/atproto/admin/getRecord.ts +32 -0
- package/src/client/types/com/atproto/admin/getRepo.ts +31 -0
- package/src/client/types/com/atproto/admin/moderationAction.ts +99 -0
- package/src/client/types/com/atproto/admin/moderationReport.ts +64 -0
- package/src/client/types/com/atproto/admin/record.ts +89 -0
- package/src/client/types/com/atproto/admin/repo.ts +103 -0
- package/src/client/types/com/atproto/admin/resolveModerationReports.ts +37 -0
- package/src/client/types/com/atproto/admin/reverseModerationAction.ts +37 -0
- package/src/client/types/com/atproto/admin/searchRepos.ts +38 -0
- package/src/client/types/com/atproto/admin/takeModerationAction.ts +47 -0
- package/src/client/types/com/atproto/repo/recordRef.ts +25 -0
- package/src/client/types/com/atproto/repo/repoRef.ts +24 -0
- package/src/client/types/com/atproto/report/create.ts +54 -0
- package/src/client/types/com/atproto/report/reasonType.ts +16 -0
- package/src/client/types/com/atproto/report/subject.ts +66 -0
- package/src/client/types/com/atproto/session/create.ts +9 -1
- package/src/client/types/com/atproto/session/refresh.ts +7 -0
- package/src/client/types/com/atproto/sync/{updateRepo.ts → getCheckout.ts} +4 -3
- package/src/client/types/com/atproto/sync/getCommitPath.ts +39 -0
- package/src/client/types/com/atproto/sync/{getRoot.ts → getHead.ts} +0 -0
- package/src/client/types/com/atproto/sync/getRecord.ts +34 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/src/client/types/app/bsky/actor/createScene.ts +0 -55
- package/src/client/types/app/bsky/feed/trend.ts +0 -26
- package/src/client/types/app/bsky/graph/getAssertions.ts +0 -85
- package/src/client/types/app/bsky/graph/getMembers.ts +0 -62
- package/src/client/types/app/bsky/graph/getMemberships.ts +0 -62
- package/src/client/types/app/bsky/system/actorScene.ts +0 -9
package/dist/index.js
CHANGED
|
@@ -82,7 +82,7 @@ __export(src_exports, {
|
|
|
82
82
|
APP_BSKY_SYSTEM: () => APP_BSKY_SYSTEM,
|
|
83
83
|
AccountNS: () => AccountNS,
|
|
84
84
|
ActorNS: () => ActorNS,
|
|
85
|
-
|
|
85
|
+
AdminNS: () => AdminNS,
|
|
86
86
|
AppBskyActorGetProfile: () => getProfile_exports,
|
|
87
87
|
AppBskyActorGetSuggestions: () => getSuggestions_exports,
|
|
88
88
|
AppBskyActorProfile: () => profile_exports,
|
|
@@ -101,25 +101,20 @@ __export(src_exports, {
|
|
|
101
101
|
AppBskyFeedPost: () => post_exports,
|
|
102
102
|
AppBskyFeedRepost: () => repost_exports,
|
|
103
103
|
AppBskyFeedSetVote: () => setVote_exports,
|
|
104
|
-
AppBskyFeedTrend: () => trend_exports,
|
|
105
104
|
AppBskyFeedVote: () => vote_exports,
|
|
106
105
|
AppBskyGraphAssertCreator: () => assertCreator_exports,
|
|
107
106
|
AppBskyGraphAssertMember: () => assertMember_exports,
|
|
108
107
|
AppBskyGraphAssertion: () => assertion_exports,
|
|
109
108
|
AppBskyGraphConfirmation: () => confirmation_exports,
|
|
110
109
|
AppBskyGraphFollow: () => follow_exports,
|
|
111
|
-
AppBskyGraphGetAssertions: () => getAssertions_exports,
|
|
112
110
|
AppBskyGraphGetFollowers: () => getFollowers_exports,
|
|
113
111
|
AppBskyGraphGetFollows: () => getFollows_exports,
|
|
114
|
-
AppBskyGraphGetMembers: () => getMembers_exports,
|
|
115
|
-
AppBskyGraphGetMemberships: () => getMemberships_exports,
|
|
116
112
|
AppBskyGraphGetMutes: () => getMutes_exports,
|
|
117
113
|
AppBskyGraphMute: () => mute_exports,
|
|
118
114
|
AppBskyGraphUnmute: () => unmute_exports,
|
|
119
115
|
AppBskyNotificationGetCount: () => getCount_exports,
|
|
120
116
|
AppBskyNotificationList: () => list_exports,
|
|
121
117
|
AppBskyNotificationUpdateSeen: () => updateSeen_exports,
|
|
122
|
-
AppBskySystemActorScene: () => actorScene_exports,
|
|
123
118
|
AppBskySystemActorUser: () => actorUser_exports,
|
|
124
119
|
AppBskySystemDeclRef: () => declRef_exports,
|
|
125
120
|
AppBskySystemDeclaration: () => declaration_exports,
|
|
@@ -128,6 +123,8 @@ __export(src_exports, {
|
|
|
128
123
|
AtprotoNS: () => AtprotoNS,
|
|
129
124
|
BlobNS: () => BlobNS,
|
|
130
125
|
BskyNS: () => BskyNS,
|
|
126
|
+
COM_ATPROTO_ADMIN: () => COM_ATPROTO_ADMIN,
|
|
127
|
+
COM_ATPROTO_REPORT: () => COM_ATPROTO_REPORT,
|
|
131
128
|
Client: () => Client2,
|
|
132
129
|
ComAtprotoAccountCreate: () => create_exports,
|
|
133
130
|
ComAtprotoAccountCreateInviteCode: () => createInviteCode_exports,
|
|
@@ -135,24 +132,45 @@ __export(src_exports, {
|
|
|
135
132
|
ComAtprotoAccountGet: () => get_exports,
|
|
136
133
|
ComAtprotoAccountRequestPasswordReset: () => requestPasswordReset_exports,
|
|
137
134
|
ComAtprotoAccountResetPassword: () => resetPassword_exports,
|
|
135
|
+
ComAtprotoAdminGetModerationAction: () => getModerationAction_exports,
|
|
136
|
+
ComAtprotoAdminGetModerationActions: () => getModerationActions_exports,
|
|
137
|
+
ComAtprotoAdminGetModerationReport: () => getModerationReport_exports,
|
|
138
|
+
ComAtprotoAdminGetModerationReports: () => getModerationReports_exports,
|
|
139
|
+
ComAtprotoAdminGetRecord: () => getRecord_exports,
|
|
140
|
+
ComAtprotoAdminGetRepo: () => getRepo_exports,
|
|
141
|
+
ComAtprotoAdminModerationAction: () => moderationAction_exports,
|
|
142
|
+
ComAtprotoAdminModerationReport: () => moderationReport_exports,
|
|
143
|
+
ComAtprotoAdminRecord: () => record_exports,
|
|
144
|
+
ComAtprotoAdminRepo: () => repo_exports,
|
|
145
|
+
ComAtprotoAdminResolveModerationReports: () => resolveModerationReports_exports,
|
|
146
|
+
ComAtprotoAdminReverseModerationAction: () => reverseModerationAction_exports,
|
|
147
|
+
ComAtprotoAdminSearchRepos: () => searchRepos_exports,
|
|
148
|
+
ComAtprotoAdminTakeModerationAction: () => takeModerationAction_exports,
|
|
138
149
|
ComAtprotoBlobUpload: () => upload_exports,
|
|
139
150
|
ComAtprotoHandleResolve: () => resolve_exports,
|
|
140
151
|
ComAtprotoRepoBatchWrite: () => batchWrite_exports,
|
|
141
152
|
ComAtprotoRepoCreateRecord: () => createRecord_exports,
|
|
142
153
|
ComAtprotoRepoDeleteRecord: () => deleteRecord_exports,
|
|
143
154
|
ComAtprotoRepoDescribe: () => describe_exports,
|
|
144
|
-
ComAtprotoRepoGetRecord: () =>
|
|
155
|
+
ComAtprotoRepoGetRecord: () => getRecord_exports2,
|
|
145
156
|
ComAtprotoRepoListRecords: () => listRecords_exports,
|
|
146
157
|
ComAtprotoRepoPutRecord: () => putRecord_exports,
|
|
158
|
+
ComAtprotoRepoRecordRef: () => recordRef_exports,
|
|
159
|
+
ComAtprotoRepoRepoRef: () => repoRef_exports,
|
|
147
160
|
ComAtprotoRepoStrongRef: () => strongRef_exports,
|
|
161
|
+
ComAtprotoReportCreate: () => create_exports2,
|
|
162
|
+
ComAtprotoReportReasonType: () => reasonType_exports,
|
|
163
|
+
ComAtprotoReportSubject: () => subject_exports,
|
|
148
164
|
ComAtprotoServerGetAccountsConfig: () => getAccountsConfig_exports,
|
|
149
|
-
ComAtprotoSessionCreate: () =>
|
|
165
|
+
ComAtprotoSessionCreate: () => create_exports3,
|
|
150
166
|
ComAtprotoSessionDelete: () => delete_exports2,
|
|
151
167
|
ComAtprotoSessionGet: () => get_exports2,
|
|
152
168
|
ComAtprotoSessionRefresh: () => refresh_exports,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
169
|
+
ComAtprotoSyncGetCheckout: () => getCheckout_exports,
|
|
170
|
+
ComAtprotoSyncGetCommitPath: () => getCommitPath_exports,
|
|
171
|
+
ComAtprotoSyncGetHead: () => getHead_exports,
|
|
172
|
+
ComAtprotoSyncGetRecord: () => getRecord_exports3,
|
|
173
|
+
ComAtprotoSyncGetRepo: () => getRepo_exports2,
|
|
156
174
|
ComNS: () => ComNS,
|
|
157
175
|
ConfirmationRecord: () => ConfirmationRecord,
|
|
158
176
|
DeclarationRecord: () => DeclarationRecord,
|
|
@@ -165,6 +183,7 @@ __export(src_exports, {
|
|
|
165
183
|
PostRecord: () => PostRecord,
|
|
166
184
|
ProfileRecord: () => ProfileRecord,
|
|
167
185
|
RepoNS: () => RepoNS,
|
|
186
|
+
ReportNS: () => ReportNS,
|
|
168
187
|
RepostRecord: () => RepostRecord,
|
|
169
188
|
ServerNS: () => ServerNS,
|
|
170
189
|
ServiceClient: () => ServiceClient2,
|
|
@@ -175,7 +194,6 @@ __export(src_exports, {
|
|
|
175
194
|
SessionXrpcServiceClient: () => SessionXrpcServiceClient,
|
|
176
195
|
SyncNS: () => SyncNS,
|
|
177
196
|
SystemNS: () => SystemNS,
|
|
178
|
-
TrendRecord: () => TrendRecord,
|
|
179
197
|
VoteRecord: () => VoteRecord,
|
|
180
198
|
default: () => client_default,
|
|
181
199
|
sessionClient: () => session_default
|
|
@@ -3335,6 +3353,11 @@ var lexArray = mod.object({
|
|
|
3335
3353
|
minLength: mod.number().int().optional(),
|
|
3336
3354
|
maxLength: mod.number().int().optional()
|
|
3337
3355
|
});
|
|
3356
|
+
var lexPrimitiveArray = lexArray.merge(
|
|
3357
|
+
mod.object({
|
|
3358
|
+
items: lexPrimitive
|
|
3359
|
+
})
|
|
3360
|
+
);
|
|
3338
3361
|
var lexToken = mod.object({
|
|
3339
3362
|
type: mod.literal("token"),
|
|
3340
3363
|
description: mod.string().optional()
|
|
@@ -3349,7 +3372,7 @@ var lexXrpcParameters = mod.object({
|
|
|
3349
3372
|
type: mod.literal("params"),
|
|
3350
3373
|
description: mod.string().optional(),
|
|
3351
3374
|
required: mod.string().array().optional(),
|
|
3352
|
-
properties: mod.record(lexPrimitive)
|
|
3375
|
+
properties: mod.record(mod.union([lexPrimitive, lexPrimitiveArray]))
|
|
3353
3376
|
});
|
|
3354
3377
|
var lexXrpcBody = mod.object({
|
|
3355
3378
|
description: mod.string().optional(),
|
|
@@ -3721,7 +3744,6 @@ function validate2(lexicons2, path, def, value) {
|
|
|
3721
3744
|
}
|
|
3722
3745
|
}
|
|
3723
3746
|
function array(lexicons2, path, def, value) {
|
|
3724
|
-
def = def;
|
|
3725
3747
|
if (!Array.isArray(value)) {
|
|
3726
3748
|
return {
|
|
3727
3749
|
success: false,
|
|
@@ -3769,7 +3791,7 @@ function object(lexicons2, path, def, value) {
|
|
|
3769
3791
|
}
|
|
3770
3792
|
if (Array.isArray(def.required)) {
|
|
3771
3793
|
for (const key of def.required) {
|
|
3772
|
-
if (
|
|
3794
|
+
if (typeof value[key] === "undefined") {
|
|
3773
3795
|
return {
|
|
3774
3796
|
success: false,
|
|
3775
3797
|
error: new ValidationError(`${path} must have the property "${key}"`)
|
|
@@ -3873,13 +3895,12 @@ function toConcreteTypes(lexicons2, def) {
|
|
|
3873
3895
|
|
|
3874
3896
|
// ../lexicon/src/validators/xrpc.ts
|
|
3875
3897
|
function params(lexicons2, path, def, value) {
|
|
3876
|
-
def = def;
|
|
3877
3898
|
if (!value || typeof value !== "object") {
|
|
3878
3899
|
value = {};
|
|
3879
3900
|
}
|
|
3880
3901
|
if (Array.isArray(def.required)) {
|
|
3881
3902
|
for (const key of def.required) {
|
|
3882
|
-
if (
|
|
3903
|
+
if (typeof value[key] === "undefined") {
|
|
3883
3904
|
return {
|
|
3884
3905
|
success: false,
|
|
3885
3906
|
error: new ValidationError(`${path} must have the property "${key}"`)
|
|
@@ -3892,12 +3913,8 @@ function params(lexicons2, path, def, value) {
|
|
|
3892
3913
|
continue;
|
|
3893
3914
|
}
|
|
3894
3915
|
const paramDef = def.properties[key];
|
|
3895
|
-
const
|
|
3896
|
-
|
|
3897
|
-
key,
|
|
3898
|
-
paramDef,
|
|
3899
|
-
value[key]
|
|
3900
|
-
);
|
|
3916
|
+
const val = value[key];
|
|
3917
|
+
const res = paramDef.type === "array" ? array(lexicons2, key, paramDef, val) : validate(lexicons2, key, paramDef, val);
|
|
3901
3918
|
if (!res.success) {
|
|
3902
3919
|
return res;
|
|
3903
3920
|
}
|
|
@@ -4090,7 +4107,17 @@ function constructMethodCallUri(nsid, schema, serviceUri, params2) {
|
|
|
4090
4107
|
throw new Error(`Invalid query parameter: ${key}`);
|
|
4091
4108
|
}
|
|
4092
4109
|
if (value !== void 0) {
|
|
4093
|
-
|
|
4110
|
+
if (paramSchema.type === "array") {
|
|
4111
|
+
const vals = [];
|
|
4112
|
+
vals.concat(value).forEach((val) => {
|
|
4113
|
+
uri.searchParams.append(
|
|
4114
|
+
key,
|
|
4115
|
+
encodeQueryParam(paramSchema.items.type, val)
|
|
4116
|
+
);
|
|
4117
|
+
});
|
|
4118
|
+
} else {
|
|
4119
|
+
uri.searchParams.set(key, encodeQueryParam(paramSchema.type, value));
|
|
4120
|
+
}
|
|
4094
4121
|
}
|
|
4095
4122
|
}
|
|
4096
4123
|
}
|
|
@@ -4268,11 +4295,13 @@ var ServiceClient = class {
|
|
|
4268
4295
|
};
|
|
4269
4296
|
async function defaultFetchHandler(httpUri, httpMethod, httpHeaders, httpReqBody) {
|
|
4270
4297
|
try {
|
|
4271
|
-
const
|
|
4298
|
+
const reqInit = {
|
|
4272
4299
|
method: httpMethod,
|
|
4273
4300
|
headers: httpHeaders,
|
|
4274
|
-
body: encodeMethodCallBody(httpHeaders, httpReqBody)
|
|
4275
|
-
|
|
4301
|
+
body: encodeMethodCallBody(httpHeaders, httpReqBody),
|
|
4302
|
+
duplex: "half"
|
|
4303
|
+
};
|
|
4304
|
+
const res = await fetch(httpUri, reqInit);
|
|
4276
4305
|
const resBody = await res.arrayBuffer();
|
|
4277
4306
|
return {
|
|
4278
4307
|
status: res.status,
|
|
@@ -4470,44 +4499,53 @@ var schemaDict = {
|
|
|
4470
4499
|
}
|
|
4471
4500
|
}
|
|
4472
4501
|
},
|
|
4473
|
-
|
|
4502
|
+
ComAtprotoAdminGetModerationAction: {
|
|
4474
4503
|
lexicon: 1,
|
|
4475
|
-
id: "com.atproto.
|
|
4504
|
+
id: "com.atproto.admin.getModerationAction",
|
|
4476
4505
|
defs: {
|
|
4477
4506
|
main: {
|
|
4478
|
-
type: "
|
|
4479
|
-
description: "
|
|
4480
|
-
|
|
4481
|
-
|
|
4507
|
+
type: "query",
|
|
4508
|
+
description: "View details about a moderation action.",
|
|
4509
|
+
parameters: {
|
|
4510
|
+
type: "params",
|
|
4511
|
+
required: ["id"],
|
|
4512
|
+
properties: {
|
|
4513
|
+
id: {
|
|
4514
|
+
type: "number"
|
|
4515
|
+
}
|
|
4516
|
+
}
|
|
4482
4517
|
},
|
|
4483
4518
|
output: {
|
|
4484
4519
|
encoding: "application/json",
|
|
4485
4520
|
schema: {
|
|
4486
|
-
type: "
|
|
4487
|
-
|
|
4488
|
-
properties: {
|
|
4489
|
-
cid: {
|
|
4490
|
-
type: "string"
|
|
4491
|
-
}
|
|
4492
|
-
}
|
|
4521
|
+
type: "ref",
|
|
4522
|
+
ref: "lex:com.atproto.admin.moderationAction#viewDetail"
|
|
4493
4523
|
}
|
|
4494
4524
|
}
|
|
4495
4525
|
}
|
|
4496
4526
|
}
|
|
4497
4527
|
},
|
|
4498
|
-
|
|
4528
|
+
ComAtprotoAdminGetModerationActions: {
|
|
4499
4529
|
lexicon: 1,
|
|
4500
|
-
id: "com.atproto.
|
|
4530
|
+
id: "com.atproto.admin.getModerationActions",
|
|
4501
4531
|
defs: {
|
|
4502
4532
|
main: {
|
|
4503
4533
|
type: "query",
|
|
4504
|
-
description: "
|
|
4534
|
+
description: "List moderation actions related to a subject.",
|
|
4505
4535
|
parameters: {
|
|
4506
4536
|
type: "params",
|
|
4507
4537
|
properties: {
|
|
4508
|
-
|
|
4509
|
-
type: "string"
|
|
4510
|
-
|
|
4538
|
+
subject: {
|
|
4539
|
+
type: "string"
|
|
4540
|
+
},
|
|
4541
|
+
limit: {
|
|
4542
|
+
type: "integer",
|
|
4543
|
+
minimum: 1,
|
|
4544
|
+
maximum: 100,
|
|
4545
|
+
default: 50
|
|
4546
|
+
},
|
|
4547
|
+
before: {
|
|
4548
|
+
type: "string"
|
|
4511
4549
|
}
|
|
4512
4550
|
}
|
|
4513
4551
|
},
|
|
@@ -4515,10 +4553,17 @@ var schemaDict = {
|
|
|
4515
4553
|
encoding: "application/json",
|
|
4516
4554
|
schema: {
|
|
4517
4555
|
type: "object",
|
|
4518
|
-
required: ["
|
|
4556
|
+
required: ["actions"],
|
|
4519
4557
|
properties: {
|
|
4520
|
-
|
|
4558
|
+
cursor: {
|
|
4521
4559
|
type: "string"
|
|
4560
|
+
},
|
|
4561
|
+
actions: {
|
|
4562
|
+
type: "array",
|
|
4563
|
+
items: {
|
|
4564
|
+
type: "ref",
|
|
4565
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
4566
|
+
}
|
|
4522
4567
|
}
|
|
4523
4568
|
}
|
|
4524
4569
|
}
|
|
@@ -4526,130 +4571,56 @@ var schemaDict = {
|
|
|
4526
4571
|
}
|
|
4527
4572
|
}
|
|
4528
4573
|
},
|
|
4529
|
-
|
|
4574
|
+
ComAtprotoAdminGetModerationReport: {
|
|
4530
4575
|
lexicon: 1,
|
|
4531
|
-
id: "com.atproto.
|
|
4576
|
+
id: "com.atproto.admin.getModerationReport",
|
|
4532
4577
|
defs: {
|
|
4533
4578
|
main: {
|
|
4534
|
-
type: "
|
|
4535
|
-
description: "
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
did: {
|
|
4543
|
-
type: "string",
|
|
4544
|
-
description: "The DID of the repo."
|
|
4545
|
-
},
|
|
4546
|
-
validate: {
|
|
4547
|
-
type: "boolean",
|
|
4548
|
-
default: true,
|
|
4549
|
-
description: "Validate the records?"
|
|
4550
|
-
},
|
|
4551
|
-
writes: {
|
|
4552
|
-
type: "array",
|
|
4553
|
-
items: {
|
|
4554
|
-
type: "union",
|
|
4555
|
-
refs: [
|
|
4556
|
-
"lex:com.atproto.repo.batchWrite#create",
|
|
4557
|
-
"lex:com.atproto.repo.batchWrite#update",
|
|
4558
|
-
"lex:com.atproto.repo.batchWrite#delete"
|
|
4559
|
-
],
|
|
4560
|
-
closed: true
|
|
4561
|
-
}
|
|
4562
|
-
}
|
|
4579
|
+
type: "query",
|
|
4580
|
+
description: "View details about a moderation report.",
|
|
4581
|
+
parameters: {
|
|
4582
|
+
type: "params",
|
|
4583
|
+
required: ["id"],
|
|
4584
|
+
properties: {
|
|
4585
|
+
id: {
|
|
4586
|
+
type: "number"
|
|
4563
4587
|
}
|
|
4564
4588
|
}
|
|
4565
|
-
}
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
action: {
|
|
4572
|
-
type: "string",
|
|
4573
|
-
const: "create"
|
|
4574
|
-
},
|
|
4575
|
-
collection: {
|
|
4576
|
-
type: "string"
|
|
4577
|
-
},
|
|
4578
|
-
rkey: {
|
|
4579
|
-
type: "string"
|
|
4580
|
-
},
|
|
4581
|
-
value: {
|
|
4582
|
-
type: "unknown"
|
|
4583
|
-
}
|
|
4584
|
-
}
|
|
4585
|
-
},
|
|
4586
|
-
update: {
|
|
4587
|
-
type: "object",
|
|
4588
|
-
required: ["action", "collection", "rkey", "value"],
|
|
4589
|
-
properties: {
|
|
4590
|
-
action: {
|
|
4591
|
-
type: "string",
|
|
4592
|
-
const: "update"
|
|
4593
|
-
},
|
|
4594
|
-
collection: {
|
|
4595
|
-
type: "string"
|
|
4596
|
-
},
|
|
4597
|
-
rkey: {
|
|
4598
|
-
type: "string"
|
|
4599
|
-
},
|
|
4600
|
-
value: {
|
|
4601
|
-
type: "unknown"
|
|
4602
|
-
}
|
|
4603
|
-
}
|
|
4604
|
-
},
|
|
4605
|
-
delete: {
|
|
4606
|
-
type: "object",
|
|
4607
|
-
required: ["action", "collection", "rkey"],
|
|
4608
|
-
properties: {
|
|
4609
|
-
action: {
|
|
4610
|
-
type: "string",
|
|
4611
|
-
const: "delete"
|
|
4612
|
-
},
|
|
4613
|
-
collection: {
|
|
4614
|
-
type: "string"
|
|
4615
|
-
},
|
|
4616
|
-
rkey: {
|
|
4617
|
-
type: "string"
|
|
4589
|
+
},
|
|
4590
|
+
output: {
|
|
4591
|
+
encoding: "application/json",
|
|
4592
|
+
schema: {
|
|
4593
|
+
type: "ref",
|
|
4594
|
+
ref: "lex:com.atproto.admin.moderationReport#viewDetail"
|
|
4618
4595
|
}
|
|
4619
4596
|
}
|
|
4620
4597
|
}
|
|
4621
4598
|
}
|
|
4622
4599
|
},
|
|
4623
|
-
|
|
4600
|
+
ComAtprotoAdminGetModerationReports: {
|
|
4624
4601
|
lexicon: 1,
|
|
4625
|
-
id: "com.atproto.
|
|
4602
|
+
id: "com.atproto.admin.getModerationReports",
|
|
4626
4603
|
defs: {
|
|
4627
4604
|
main: {
|
|
4628
|
-
type: "
|
|
4629
|
-
description: "
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
description: "Validate the record?"
|
|
4648
|
-
},
|
|
4649
|
-
record: {
|
|
4650
|
-
type: "unknown",
|
|
4651
|
-
description: "The record to create."
|
|
4652
|
-
}
|
|
4605
|
+
type: "query",
|
|
4606
|
+
description: "List moderation reports related to a subject.",
|
|
4607
|
+
parameters: {
|
|
4608
|
+
type: "params",
|
|
4609
|
+
properties: {
|
|
4610
|
+
subject: {
|
|
4611
|
+
type: "string"
|
|
4612
|
+
},
|
|
4613
|
+
resolved: {
|
|
4614
|
+
type: "boolean"
|
|
4615
|
+
},
|
|
4616
|
+
limit: {
|
|
4617
|
+
type: "integer",
|
|
4618
|
+
minimum: 1,
|
|
4619
|
+
maximum: 100,
|
|
4620
|
+
default: 50
|
|
4621
|
+
},
|
|
4622
|
+
before: {
|
|
4623
|
+
type: "string"
|
|
4653
4624
|
}
|
|
4654
4625
|
}
|
|
4655
4626
|
},
|
|
@@ -4657,13 +4628,17 @@ var schemaDict = {
|
|
|
4657
4628
|
encoding: "application/json",
|
|
4658
4629
|
schema: {
|
|
4659
4630
|
type: "object",
|
|
4660
|
-
required: ["
|
|
4631
|
+
required: ["reports"],
|
|
4661
4632
|
properties: {
|
|
4662
|
-
|
|
4633
|
+
cursor: {
|
|
4663
4634
|
type: "string"
|
|
4664
4635
|
},
|
|
4665
|
-
|
|
4666
|
-
type: "
|
|
4636
|
+
reports: {
|
|
4637
|
+
type: "array",
|
|
4638
|
+
items: {
|
|
4639
|
+
type: "ref",
|
|
4640
|
+
ref: "lex:com.atproto.admin.moderationReport#view"
|
|
4641
|
+
}
|
|
4667
4642
|
}
|
|
4668
4643
|
}
|
|
4669
4644
|
}
|
|
@@ -4671,68 +4646,924 @@ var schemaDict = {
|
|
|
4671
4646
|
}
|
|
4672
4647
|
}
|
|
4673
4648
|
},
|
|
4674
|
-
|
|
4649
|
+
ComAtprotoAdminGetRecord: {
|
|
4675
4650
|
lexicon: 1,
|
|
4676
|
-
id: "com.atproto.
|
|
4651
|
+
id: "com.atproto.admin.getRecord",
|
|
4677
4652
|
defs: {
|
|
4678
4653
|
main: {
|
|
4679
|
-
type: "
|
|
4680
|
-
description: "
|
|
4681
|
-
|
|
4654
|
+
type: "query",
|
|
4655
|
+
description: "View details about a record.",
|
|
4656
|
+
parameters: {
|
|
4657
|
+
type: "params",
|
|
4658
|
+
required: ["uri"],
|
|
4659
|
+
properties: {
|
|
4660
|
+
uri: {
|
|
4661
|
+
type: "string"
|
|
4662
|
+
},
|
|
4663
|
+
cid: {
|
|
4664
|
+
type: "string"
|
|
4665
|
+
}
|
|
4666
|
+
}
|
|
4667
|
+
},
|
|
4668
|
+
output: {
|
|
4682
4669
|
encoding: "application/json",
|
|
4683
4670
|
schema: {
|
|
4684
|
-
type: "
|
|
4685
|
-
|
|
4686
|
-
properties: {
|
|
4687
|
-
did: {
|
|
4688
|
-
type: "string",
|
|
4689
|
-
description: "The DID of the repo."
|
|
4690
|
-
},
|
|
4691
|
-
collection: {
|
|
4692
|
-
type: "string",
|
|
4693
|
-
description: "The NSID of the record collection."
|
|
4694
|
-
},
|
|
4695
|
-
rkey: {
|
|
4696
|
-
type: "string",
|
|
4697
|
-
description: "The key of the record."
|
|
4698
|
-
}
|
|
4699
|
-
}
|
|
4671
|
+
type: "ref",
|
|
4672
|
+
ref: "lex:com.atproto.admin.record#viewDetail"
|
|
4700
4673
|
}
|
|
4701
4674
|
}
|
|
4702
4675
|
}
|
|
4703
4676
|
}
|
|
4704
4677
|
},
|
|
4705
|
-
|
|
4678
|
+
ComAtprotoAdminGetRepo: {
|
|
4706
4679
|
lexicon: 1,
|
|
4707
|
-
id: "com.atproto.
|
|
4680
|
+
id: "com.atproto.admin.getRepo",
|
|
4708
4681
|
defs: {
|
|
4709
4682
|
main: {
|
|
4710
4683
|
type: "query",
|
|
4711
|
-
description: "
|
|
4684
|
+
description: "View details about a repository.",
|
|
4712
4685
|
parameters: {
|
|
4713
4686
|
type: "params",
|
|
4714
|
-
required: ["
|
|
4687
|
+
required: ["did"],
|
|
4715
4688
|
properties: {
|
|
4716
|
-
|
|
4717
|
-
type: "string"
|
|
4718
|
-
description: "The handle or DID of the repo."
|
|
4689
|
+
did: {
|
|
4690
|
+
type: "string"
|
|
4719
4691
|
}
|
|
4720
4692
|
}
|
|
4721
4693
|
},
|
|
4722
4694
|
output: {
|
|
4723
4695
|
encoding: "application/json",
|
|
4724
4696
|
schema: {
|
|
4725
|
-
type: "
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4697
|
+
type: "ref",
|
|
4698
|
+
ref: "lex:com.atproto.admin.repo#viewDetail"
|
|
4699
|
+
}
|
|
4700
|
+
}
|
|
4701
|
+
}
|
|
4702
|
+
}
|
|
4703
|
+
},
|
|
4704
|
+
ComAtprotoAdminModerationAction: {
|
|
4705
|
+
lexicon: 1,
|
|
4706
|
+
id: "com.atproto.admin.moderationAction",
|
|
4707
|
+
defs: {
|
|
4708
|
+
view: {
|
|
4709
|
+
type: "object",
|
|
4710
|
+
required: [
|
|
4711
|
+
"id",
|
|
4712
|
+
"action",
|
|
4713
|
+
"subject",
|
|
4714
|
+
"reason",
|
|
4715
|
+
"createdBy",
|
|
4716
|
+
"createdAt",
|
|
4717
|
+
"resolvedReportIds"
|
|
4718
|
+
],
|
|
4719
|
+
properties: {
|
|
4720
|
+
id: {
|
|
4721
|
+
type: "integer"
|
|
4722
|
+
},
|
|
4723
|
+
action: {
|
|
4724
|
+
type: "string",
|
|
4725
|
+
knownValues: [
|
|
4726
|
+
"com.atproto.admin.moderationAction#takedown",
|
|
4727
|
+
"com.atproto.admin.moderationAction#flag",
|
|
4728
|
+
"com.atproto.admin.moderationAction#acknowledge"
|
|
4729
|
+
]
|
|
4730
|
+
},
|
|
4731
|
+
subject: {
|
|
4732
|
+
type: "union",
|
|
4733
|
+
refs: [
|
|
4734
|
+
"lex:com.atproto.repo.repoRef",
|
|
4735
|
+
"lex:com.atproto.repo.strongRef"
|
|
4736
|
+
]
|
|
4737
|
+
},
|
|
4738
|
+
reason: {
|
|
4739
|
+
type: "string"
|
|
4740
|
+
},
|
|
4741
|
+
createdBy: {
|
|
4742
|
+
type: "string"
|
|
4743
|
+
},
|
|
4744
|
+
createdAt: {
|
|
4745
|
+
type: "string"
|
|
4746
|
+
},
|
|
4747
|
+
reversal: {
|
|
4748
|
+
type: "ref",
|
|
4749
|
+
ref: "lex:com.atproto.admin.moderationAction#reversal"
|
|
4750
|
+
},
|
|
4751
|
+
resolvedReportIds: {
|
|
4752
|
+
type: "array",
|
|
4753
|
+
items: {
|
|
4754
|
+
type: "integer"
|
|
4755
|
+
}
|
|
4756
|
+
}
|
|
4757
|
+
}
|
|
4758
|
+
},
|
|
4759
|
+
viewDetail: {
|
|
4760
|
+
type: "object",
|
|
4761
|
+
required: [
|
|
4762
|
+
"id",
|
|
4763
|
+
"action",
|
|
4764
|
+
"subject",
|
|
4765
|
+
"reason",
|
|
4766
|
+
"createdBy",
|
|
4767
|
+
"createdAt",
|
|
4768
|
+
"resolvedReports"
|
|
4769
|
+
],
|
|
4770
|
+
properties: {
|
|
4771
|
+
id: {
|
|
4772
|
+
type: "integer"
|
|
4773
|
+
},
|
|
4774
|
+
action: {
|
|
4775
|
+
type: "string",
|
|
4776
|
+
knownValues: [
|
|
4777
|
+
"com.atproto.admin.moderationAction#takedown",
|
|
4778
|
+
"com.atproto.admin.moderationAction#flag",
|
|
4779
|
+
"com.atproto.admin.moderationAction#acknowledge"
|
|
4780
|
+
]
|
|
4781
|
+
},
|
|
4782
|
+
subject: {
|
|
4783
|
+
type: "union",
|
|
4784
|
+
refs: [
|
|
4785
|
+
"lex:com.atproto.admin.repo#view",
|
|
4786
|
+
"lex:com.atproto.admin.record#view"
|
|
4787
|
+
]
|
|
4788
|
+
},
|
|
4789
|
+
reason: {
|
|
4790
|
+
type: "string"
|
|
4791
|
+
},
|
|
4792
|
+
createdBy: {
|
|
4793
|
+
type: "string"
|
|
4794
|
+
},
|
|
4795
|
+
createdAt: {
|
|
4796
|
+
type: "string"
|
|
4797
|
+
},
|
|
4798
|
+
reversal: {
|
|
4799
|
+
type: "ref",
|
|
4800
|
+
ref: "lex:com.atproto.admin.moderationAction#reversal"
|
|
4801
|
+
},
|
|
4802
|
+
resolvedReports: {
|
|
4803
|
+
type: "array",
|
|
4804
|
+
items: {
|
|
4805
|
+
type: "ref",
|
|
4806
|
+
ref: "lex:com.atproto.admin.moderationReport#view"
|
|
4807
|
+
}
|
|
4808
|
+
}
|
|
4809
|
+
}
|
|
4810
|
+
},
|
|
4811
|
+
reversal: {
|
|
4812
|
+
type: "object",
|
|
4813
|
+
required: ["reason", "createdBy", "createdAt"],
|
|
4814
|
+
properties: {
|
|
4815
|
+
reason: {
|
|
4816
|
+
type: "string"
|
|
4817
|
+
},
|
|
4818
|
+
createdBy: {
|
|
4819
|
+
type: "string"
|
|
4820
|
+
},
|
|
4821
|
+
createdAt: {
|
|
4822
|
+
type: "string"
|
|
4823
|
+
}
|
|
4824
|
+
}
|
|
4825
|
+
},
|
|
4826
|
+
takedown: {
|
|
4827
|
+
type: "token",
|
|
4828
|
+
description: "Moderation action type: Takedown. Indicates that content should not be served by the PDS."
|
|
4829
|
+
},
|
|
4830
|
+
flag: {
|
|
4831
|
+
type: "token",
|
|
4832
|
+
description: "Moderation action type: Flag. Indicates that the content was reviewed and considered to violate PDS rules, but may still be served."
|
|
4833
|
+
},
|
|
4834
|
+
acknowledge: {
|
|
4835
|
+
type: "token",
|
|
4836
|
+
description: "Moderation action type: Acknowledge. Indicates that the content was reviewed and not considered to violate PDS rules."
|
|
4837
|
+
}
|
|
4838
|
+
}
|
|
4839
|
+
},
|
|
4840
|
+
ComAtprotoAdminModerationReport: {
|
|
4841
|
+
lexicon: 1,
|
|
4842
|
+
id: "com.atproto.admin.moderationReport",
|
|
4843
|
+
defs: {
|
|
4844
|
+
view: {
|
|
4845
|
+
type: "object",
|
|
4846
|
+
required: [
|
|
4847
|
+
"id",
|
|
4848
|
+
"reasonType",
|
|
4849
|
+
"subject",
|
|
4850
|
+
"reportedByDid",
|
|
4851
|
+
"createdAt",
|
|
4852
|
+
"resolvedByActionIds"
|
|
4853
|
+
],
|
|
4854
|
+
properties: {
|
|
4855
|
+
id: {
|
|
4856
|
+
type: "integer"
|
|
4857
|
+
},
|
|
4858
|
+
reasonType: {
|
|
4859
|
+
type: "ref",
|
|
4860
|
+
ref: "lex:com.atproto.report.reasonType"
|
|
4861
|
+
},
|
|
4862
|
+
reason: {
|
|
4863
|
+
type: "string"
|
|
4864
|
+
},
|
|
4865
|
+
subject: {
|
|
4866
|
+
type: "union",
|
|
4867
|
+
refs: [
|
|
4868
|
+
"lex:com.atproto.repo.repoRef",
|
|
4869
|
+
"lex:com.atproto.repo.strongRef"
|
|
4870
|
+
]
|
|
4871
|
+
},
|
|
4872
|
+
reportedByDid: {
|
|
4873
|
+
type: "string"
|
|
4874
|
+
},
|
|
4875
|
+
createdAt: {
|
|
4876
|
+
type: "datetime"
|
|
4877
|
+
},
|
|
4878
|
+
resolvedByActionIds: {
|
|
4879
|
+
type: "array",
|
|
4880
|
+
items: {
|
|
4881
|
+
type: "integer"
|
|
4882
|
+
}
|
|
4883
|
+
}
|
|
4884
|
+
}
|
|
4885
|
+
},
|
|
4886
|
+
viewDetail: {
|
|
4887
|
+
type: "object",
|
|
4888
|
+
required: [
|
|
4889
|
+
"id",
|
|
4890
|
+
"reasonType",
|
|
4891
|
+
"subject",
|
|
4892
|
+
"reportedByDid",
|
|
4893
|
+
"createdAt",
|
|
4894
|
+
"resolvedByActions"
|
|
4895
|
+
],
|
|
4896
|
+
properties: {
|
|
4897
|
+
id: {
|
|
4898
|
+
type: "integer"
|
|
4899
|
+
},
|
|
4900
|
+
reasonType: {
|
|
4901
|
+
type: "ref",
|
|
4902
|
+
ref: "lex:com.atproto.report.reasonType"
|
|
4903
|
+
},
|
|
4904
|
+
reason: {
|
|
4905
|
+
type: "string"
|
|
4906
|
+
},
|
|
4907
|
+
subject: {
|
|
4908
|
+
type: "union",
|
|
4909
|
+
refs: [
|
|
4910
|
+
"lex:com.atproto.admin.repo#view",
|
|
4911
|
+
"lex:com.atproto.admin.record#view"
|
|
4912
|
+
]
|
|
4913
|
+
},
|
|
4914
|
+
reportedByDid: {
|
|
4915
|
+
type: "string"
|
|
4916
|
+
},
|
|
4917
|
+
createdAt: {
|
|
4918
|
+
type: "datetime"
|
|
4919
|
+
},
|
|
4920
|
+
resolvedByActions: {
|
|
4921
|
+
type: "array",
|
|
4922
|
+
items: {
|
|
4923
|
+
type: "ref",
|
|
4924
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
4925
|
+
}
|
|
4926
|
+
}
|
|
4927
|
+
}
|
|
4928
|
+
}
|
|
4929
|
+
}
|
|
4930
|
+
},
|
|
4931
|
+
ComAtprotoAdminRecord: {
|
|
4932
|
+
lexicon: 1,
|
|
4933
|
+
id: "com.atproto.admin.record",
|
|
4934
|
+
defs: {
|
|
4935
|
+
view: {
|
|
4936
|
+
type: "object",
|
|
4937
|
+
required: ["uri", "cid", "value", "indexedAt", "moderation", "repo"],
|
|
4938
|
+
properties: {
|
|
4939
|
+
uri: {
|
|
4940
|
+
type: "string"
|
|
4941
|
+
},
|
|
4942
|
+
cid: {
|
|
4943
|
+
type: "string"
|
|
4944
|
+
},
|
|
4945
|
+
value: {
|
|
4946
|
+
type: "unknown"
|
|
4947
|
+
},
|
|
4948
|
+
indexedAt: {
|
|
4949
|
+
type: "string"
|
|
4950
|
+
},
|
|
4951
|
+
moderation: {
|
|
4952
|
+
type: "ref",
|
|
4953
|
+
ref: "lex:com.atproto.admin.record#moderation"
|
|
4954
|
+
},
|
|
4955
|
+
repo: {
|
|
4956
|
+
type: "ref",
|
|
4957
|
+
ref: "lex:com.atproto.admin.repo#view"
|
|
4958
|
+
}
|
|
4959
|
+
}
|
|
4960
|
+
},
|
|
4961
|
+
viewDetail: {
|
|
4962
|
+
type: "object",
|
|
4963
|
+
required: ["uri", "cid", "value", "indexedAt", "moderation", "repo"],
|
|
4964
|
+
properties: {
|
|
4965
|
+
uri: {
|
|
4966
|
+
type: "string"
|
|
4967
|
+
},
|
|
4968
|
+
cid: {
|
|
4969
|
+
type: "string"
|
|
4970
|
+
},
|
|
4971
|
+
value: {
|
|
4972
|
+
type: "unknown"
|
|
4973
|
+
},
|
|
4974
|
+
indexedAt: {
|
|
4975
|
+
type: "string"
|
|
4976
|
+
},
|
|
4977
|
+
moderation: {
|
|
4978
|
+
type: "ref",
|
|
4979
|
+
ref: "lex:com.atproto.admin.record#moderationDetail"
|
|
4980
|
+
},
|
|
4981
|
+
repo: {
|
|
4982
|
+
type: "ref",
|
|
4983
|
+
ref: "lex:com.atproto.admin.repo#view"
|
|
4984
|
+
}
|
|
4985
|
+
}
|
|
4986
|
+
},
|
|
4987
|
+
moderation: {
|
|
4988
|
+
type: "object",
|
|
4989
|
+
required: [],
|
|
4990
|
+
properties: {
|
|
4991
|
+
takedownId: {
|
|
4992
|
+
type: "integer"
|
|
4993
|
+
}
|
|
4994
|
+
}
|
|
4995
|
+
},
|
|
4996
|
+
moderationDetail: {
|
|
4997
|
+
type: "object",
|
|
4998
|
+
required: ["actions", "reports"],
|
|
4999
|
+
properties: {
|
|
5000
|
+
actions: {
|
|
5001
|
+
type: "array",
|
|
5002
|
+
items: {
|
|
5003
|
+
type: "ref",
|
|
5004
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
5005
|
+
}
|
|
5006
|
+
},
|
|
5007
|
+
reports: {
|
|
5008
|
+
type: "array",
|
|
5009
|
+
items: {
|
|
5010
|
+
type: "ref",
|
|
5011
|
+
ref: "lex:com.atproto.admin.moderationReport#view"
|
|
5012
|
+
}
|
|
5013
|
+
},
|
|
5014
|
+
takedownId: {
|
|
5015
|
+
type: "integer"
|
|
5016
|
+
}
|
|
5017
|
+
}
|
|
5018
|
+
}
|
|
5019
|
+
}
|
|
5020
|
+
},
|
|
5021
|
+
ComAtprotoAdminRepo: {
|
|
5022
|
+
lexicon: 1,
|
|
5023
|
+
id: "com.atproto.admin.repo",
|
|
5024
|
+
defs: {
|
|
5025
|
+
view: {
|
|
5026
|
+
type: "object",
|
|
5027
|
+
required: [
|
|
5028
|
+
"did",
|
|
5029
|
+
"handle",
|
|
5030
|
+
"relatedRecords",
|
|
5031
|
+
"indexedAt",
|
|
5032
|
+
"moderation"
|
|
5033
|
+
],
|
|
5034
|
+
properties: {
|
|
5035
|
+
did: {
|
|
5036
|
+
type: "string"
|
|
5037
|
+
},
|
|
5038
|
+
handle: {
|
|
5039
|
+
type: "string"
|
|
5040
|
+
},
|
|
5041
|
+
account: {
|
|
5042
|
+
type: "ref",
|
|
5043
|
+
ref: "lex:com.atproto.admin.repo#account"
|
|
5044
|
+
},
|
|
5045
|
+
relatedRecords: {
|
|
5046
|
+
type: "array",
|
|
5047
|
+
items: {
|
|
5048
|
+
type: "unknown"
|
|
5049
|
+
}
|
|
5050
|
+
},
|
|
5051
|
+
indexedAt: {
|
|
5052
|
+
type: "string"
|
|
5053
|
+
},
|
|
5054
|
+
moderation: {
|
|
5055
|
+
type: "ref",
|
|
5056
|
+
ref: "lex:com.atproto.admin.repo#moderation"
|
|
5057
|
+
}
|
|
5058
|
+
}
|
|
5059
|
+
},
|
|
5060
|
+
viewDetail: {
|
|
5061
|
+
type: "object",
|
|
5062
|
+
required: [
|
|
5063
|
+
"did",
|
|
5064
|
+
"handle",
|
|
5065
|
+
"relatedRecords",
|
|
5066
|
+
"indexedAt",
|
|
5067
|
+
"moderation"
|
|
5068
|
+
],
|
|
5069
|
+
properties: {
|
|
5070
|
+
did: {
|
|
5071
|
+
type: "string"
|
|
5072
|
+
},
|
|
5073
|
+
handle: {
|
|
5074
|
+
type: "string"
|
|
5075
|
+
},
|
|
5076
|
+
account: {
|
|
5077
|
+
type: "ref",
|
|
5078
|
+
ref: "lex:com.atproto.admin.repo#account"
|
|
5079
|
+
},
|
|
5080
|
+
relatedRecords: {
|
|
5081
|
+
type: "array",
|
|
5082
|
+
items: {
|
|
5083
|
+
type: "unknown"
|
|
5084
|
+
}
|
|
5085
|
+
},
|
|
5086
|
+
indexedAt: {
|
|
5087
|
+
type: "string"
|
|
5088
|
+
},
|
|
5089
|
+
moderation: {
|
|
5090
|
+
type: "ref",
|
|
5091
|
+
ref: "lex:com.atproto.admin.repo#moderationDetail"
|
|
5092
|
+
}
|
|
5093
|
+
}
|
|
5094
|
+
},
|
|
5095
|
+
account: {
|
|
5096
|
+
type: "object",
|
|
5097
|
+
required: ["email"],
|
|
5098
|
+
properties: {
|
|
5099
|
+
email: {
|
|
5100
|
+
type: "string"
|
|
5101
|
+
}
|
|
5102
|
+
}
|
|
5103
|
+
},
|
|
5104
|
+
moderation: {
|
|
5105
|
+
type: "object",
|
|
5106
|
+
required: [],
|
|
5107
|
+
properties: {
|
|
5108
|
+
takedownId: {
|
|
5109
|
+
type: "integer"
|
|
5110
|
+
}
|
|
5111
|
+
}
|
|
5112
|
+
},
|
|
5113
|
+
moderationDetail: {
|
|
5114
|
+
type: "object",
|
|
5115
|
+
required: ["actions", "reports"],
|
|
5116
|
+
properties: {
|
|
5117
|
+
actions: {
|
|
5118
|
+
type: "array",
|
|
5119
|
+
items: {
|
|
5120
|
+
type: "ref",
|
|
5121
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
5122
|
+
}
|
|
5123
|
+
},
|
|
5124
|
+
reports: {
|
|
5125
|
+
type: "array",
|
|
5126
|
+
items: {
|
|
5127
|
+
type: "ref",
|
|
5128
|
+
ref: "lex:com.atproto.admin.moderationReport#view"
|
|
5129
|
+
}
|
|
5130
|
+
},
|
|
5131
|
+
takedownId: {
|
|
5132
|
+
type: "integer"
|
|
5133
|
+
}
|
|
5134
|
+
}
|
|
5135
|
+
}
|
|
5136
|
+
}
|
|
5137
|
+
},
|
|
5138
|
+
ComAtprotoAdminResolveModerationReports: {
|
|
5139
|
+
lexicon: 1,
|
|
5140
|
+
id: "com.atproto.admin.resolveModerationReports",
|
|
5141
|
+
defs: {
|
|
5142
|
+
main: {
|
|
5143
|
+
type: "procedure",
|
|
5144
|
+
description: "Resolve moderation reports by an action.",
|
|
5145
|
+
input: {
|
|
5146
|
+
encoding: "application/json",
|
|
5147
|
+
schema: {
|
|
5148
|
+
type: "object",
|
|
5149
|
+
required: ["actionId", "reportIds", "createdBy"],
|
|
5150
|
+
properties: {
|
|
5151
|
+
actionId: {
|
|
5152
|
+
type: "integer"
|
|
5153
|
+
},
|
|
5154
|
+
reportIds: {
|
|
5155
|
+
type: "array",
|
|
5156
|
+
items: {
|
|
5157
|
+
type: "integer"
|
|
5158
|
+
}
|
|
5159
|
+
},
|
|
5160
|
+
createdBy: {
|
|
5161
|
+
type: "string"
|
|
5162
|
+
}
|
|
5163
|
+
}
|
|
5164
|
+
}
|
|
5165
|
+
},
|
|
5166
|
+
output: {
|
|
5167
|
+
encoding: "application/json",
|
|
5168
|
+
schema: {
|
|
5169
|
+
type: "ref",
|
|
5170
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
5171
|
+
}
|
|
5172
|
+
}
|
|
5173
|
+
}
|
|
5174
|
+
}
|
|
5175
|
+
},
|
|
5176
|
+
ComAtprotoAdminReverseModerationAction: {
|
|
5177
|
+
lexicon: 1,
|
|
5178
|
+
id: "com.atproto.admin.reverseModerationAction",
|
|
5179
|
+
defs: {
|
|
5180
|
+
main: {
|
|
5181
|
+
type: "procedure",
|
|
5182
|
+
description: "Reverse a moderation action.",
|
|
5183
|
+
input: {
|
|
5184
|
+
encoding: "application/json",
|
|
5185
|
+
schema: {
|
|
5186
|
+
type: "object",
|
|
5187
|
+
required: ["id", "reason", "createdBy"],
|
|
5188
|
+
properties: {
|
|
5189
|
+
id: {
|
|
5190
|
+
type: "integer"
|
|
5191
|
+
},
|
|
5192
|
+
reason: {
|
|
5193
|
+
type: "string"
|
|
5194
|
+
},
|
|
5195
|
+
createdBy: {
|
|
5196
|
+
type: "string"
|
|
5197
|
+
}
|
|
5198
|
+
}
|
|
5199
|
+
}
|
|
5200
|
+
},
|
|
5201
|
+
output: {
|
|
5202
|
+
encoding: "application/json",
|
|
5203
|
+
schema: {
|
|
5204
|
+
type: "ref",
|
|
5205
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
5206
|
+
}
|
|
5207
|
+
}
|
|
5208
|
+
}
|
|
5209
|
+
}
|
|
5210
|
+
},
|
|
5211
|
+
ComAtprotoAdminSearchRepos: {
|
|
5212
|
+
lexicon: 1,
|
|
5213
|
+
id: "com.atproto.admin.searchRepos",
|
|
5214
|
+
defs: {
|
|
5215
|
+
main: {
|
|
5216
|
+
type: "query",
|
|
5217
|
+
description: "Find repositories based on a search term.",
|
|
5218
|
+
parameters: {
|
|
5219
|
+
type: "params",
|
|
5220
|
+
properties: {
|
|
5221
|
+
term: {
|
|
5222
|
+
type: "string"
|
|
5223
|
+
},
|
|
5224
|
+
limit: {
|
|
5225
|
+
type: "integer",
|
|
5226
|
+
minimum: 1,
|
|
5227
|
+
maximum: 100,
|
|
5228
|
+
default: 50
|
|
5229
|
+
},
|
|
5230
|
+
before: {
|
|
5231
|
+
type: "string"
|
|
5232
|
+
}
|
|
5233
|
+
}
|
|
5234
|
+
},
|
|
5235
|
+
output: {
|
|
5236
|
+
encoding: "application/json",
|
|
5237
|
+
schema: {
|
|
5238
|
+
type: "object",
|
|
5239
|
+
required: ["repos"],
|
|
5240
|
+
properties: {
|
|
5241
|
+
cursor: {
|
|
5242
|
+
type: "string"
|
|
5243
|
+
},
|
|
5244
|
+
repos: {
|
|
5245
|
+
type: "array",
|
|
5246
|
+
items: {
|
|
5247
|
+
type: "ref",
|
|
5248
|
+
ref: "lex:com.atproto.admin.repo#view"
|
|
5249
|
+
}
|
|
5250
|
+
}
|
|
5251
|
+
}
|
|
5252
|
+
}
|
|
5253
|
+
}
|
|
5254
|
+
}
|
|
5255
|
+
}
|
|
5256
|
+
},
|
|
5257
|
+
ComAtprotoAdminTakeModerationAction: {
|
|
5258
|
+
lexicon: 1,
|
|
5259
|
+
id: "com.atproto.admin.takeModerationAction",
|
|
5260
|
+
defs: {
|
|
5261
|
+
main: {
|
|
5262
|
+
type: "procedure",
|
|
5263
|
+
description: "Take a moderation action on a repo.",
|
|
5264
|
+
input: {
|
|
5265
|
+
encoding: "application/json",
|
|
5266
|
+
schema: {
|
|
5267
|
+
type: "object",
|
|
5268
|
+
required: ["action", "subject", "reason", "createdBy"],
|
|
5269
|
+
properties: {
|
|
5270
|
+
action: {
|
|
5271
|
+
type: "string",
|
|
5272
|
+
knownValues: [
|
|
5273
|
+
"com.atproto.admin.moderationAction#takedown",
|
|
5274
|
+
"com.atproto.admin.moderationAction#flag",
|
|
5275
|
+
"com.atproto.admin.moderationAction#acknowledge"
|
|
5276
|
+
]
|
|
5277
|
+
},
|
|
5278
|
+
subject: {
|
|
5279
|
+
type: "union",
|
|
5280
|
+
refs: [
|
|
5281
|
+
"lex:com.atproto.repo.repoRef",
|
|
5282
|
+
"lex:com.atproto.repo.recordRef"
|
|
5283
|
+
]
|
|
5284
|
+
},
|
|
5285
|
+
reason: {
|
|
5286
|
+
type: "string"
|
|
5287
|
+
},
|
|
5288
|
+
createdBy: {
|
|
5289
|
+
type: "string"
|
|
5290
|
+
}
|
|
5291
|
+
}
|
|
5292
|
+
}
|
|
5293
|
+
},
|
|
5294
|
+
output: {
|
|
5295
|
+
encoding: "application/json",
|
|
5296
|
+
schema: {
|
|
5297
|
+
type: "ref",
|
|
5298
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
5299
|
+
}
|
|
5300
|
+
}
|
|
5301
|
+
}
|
|
5302
|
+
}
|
|
5303
|
+
},
|
|
5304
|
+
ComAtprotoBlobUpload: {
|
|
5305
|
+
lexicon: 1,
|
|
5306
|
+
id: "com.atproto.blob.upload",
|
|
5307
|
+
defs: {
|
|
5308
|
+
main: {
|
|
5309
|
+
type: "procedure",
|
|
5310
|
+
description: "Upload a new blob to be added to repo in a later request.",
|
|
5311
|
+
input: {
|
|
5312
|
+
encoding: "*/*"
|
|
5313
|
+
},
|
|
5314
|
+
output: {
|
|
5315
|
+
encoding: "application/json",
|
|
5316
|
+
schema: {
|
|
5317
|
+
type: "object",
|
|
5318
|
+
required: ["cid"],
|
|
5319
|
+
properties: {
|
|
5320
|
+
cid: {
|
|
5321
|
+
type: "string"
|
|
5322
|
+
}
|
|
5323
|
+
}
|
|
5324
|
+
}
|
|
5325
|
+
}
|
|
5326
|
+
}
|
|
5327
|
+
}
|
|
5328
|
+
},
|
|
5329
|
+
ComAtprotoHandleResolve: {
|
|
5330
|
+
lexicon: 1,
|
|
5331
|
+
id: "com.atproto.handle.resolve",
|
|
5332
|
+
defs: {
|
|
5333
|
+
main: {
|
|
5334
|
+
type: "query",
|
|
5335
|
+
description: "Provides the DID of a repo.",
|
|
5336
|
+
parameters: {
|
|
5337
|
+
type: "params",
|
|
5338
|
+
properties: {
|
|
5339
|
+
handle: {
|
|
5340
|
+
type: "string",
|
|
5341
|
+
description: "The handle to resolve. If not supplied, will resolve the host's own handle."
|
|
5342
|
+
}
|
|
5343
|
+
}
|
|
5344
|
+
},
|
|
5345
|
+
output: {
|
|
5346
|
+
encoding: "application/json",
|
|
5347
|
+
schema: {
|
|
5348
|
+
type: "object",
|
|
5349
|
+
required: ["did"],
|
|
5350
|
+
properties: {
|
|
5351
|
+
did: {
|
|
5352
|
+
type: "string"
|
|
5353
|
+
}
|
|
5354
|
+
}
|
|
5355
|
+
}
|
|
5356
|
+
}
|
|
5357
|
+
}
|
|
5358
|
+
}
|
|
5359
|
+
},
|
|
5360
|
+
ComAtprotoRepoBatchWrite: {
|
|
5361
|
+
lexicon: 1,
|
|
5362
|
+
id: "com.atproto.repo.batchWrite",
|
|
5363
|
+
defs: {
|
|
5364
|
+
main: {
|
|
5365
|
+
type: "procedure",
|
|
5366
|
+
description: "Apply a batch transaction of creates, puts, and deletes.",
|
|
5367
|
+
input: {
|
|
5368
|
+
encoding: "application/json",
|
|
5369
|
+
schema: {
|
|
5370
|
+
type: "object",
|
|
5371
|
+
required: ["did", "writes"],
|
|
5372
|
+
properties: {
|
|
5373
|
+
did: {
|
|
5374
|
+
type: "string",
|
|
5375
|
+
description: "The DID of the repo."
|
|
5376
|
+
},
|
|
5377
|
+
validate: {
|
|
5378
|
+
type: "boolean",
|
|
5379
|
+
default: true,
|
|
5380
|
+
description: "Validate the records?"
|
|
5381
|
+
},
|
|
5382
|
+
writes: {
|
|
5383
|
+
type: "array",
|
|
5384
|
+
items: {
|
|
5385
|
+
type: "union",
|
|
5386
|
+
refs: [
|
|
5387
|
+
"lex:com.atproto.repo.batchWrite#create",
|
|
5388
|
+
"lex:com.atproto.repo.batchWrite#update",
|
|
5389
|
+
"lex:com.atproto.repo.batchWrite#delete"
|
|
5390
|
+
],
|
|
5391
|
+
closed: true
|
|
5392
|
+
}
|
|
5393
|
+
}
|
|
5394
|
+
}
|
|
5395
|
+
}
|
|
5396
|
+
}
|
|
5397
|
+
},
|
|
5398
|
+
create: {
|
|
5399
|
+
type: "object",
|
|
5400
|
+
required: ["action", "collection", "value"],
|
|
5401
|
+
properties: {
|
|
5402
|
+
action: {
|
|
5403
|
+
type: "string",
|
|
5404
|
+
const: "create"
|
|
5405
|
+
},
|
|
5406
|
+
collection: {
|
|
5407
|
+
type: "string"
|
|
5408
|
+
},
|
|
5409
|
+
rkey: {
|
|
5410
|
+
type: "string"
|
|
5411
|
+
},
|
|
5412
|
+
value: {
|
|
5413
|
+
type: "unknown"
|
|
5414
|
+
}
|
|
5415
|
+
}
|
|
5416
|
+
},
|
|
5417
|
+
update: {
|
|
5418
|
+
type: "object",
|
|
5419
|
+
required: ["action", "collection", "rkey", "value"],
|
|
5420
|
+
properties: {
|
|
5421
|
+
action: {
|
|
5422
|
+
type: "string",
|
|
5423
|
+
const: "update"
|
|
5424
|
+
},
|
|
5425
|
+
collection: {
|
|
5426
|
+
type: "string"
|
|
5427
|
+
},
|
|
5428
|
+
rkey: {
|
|
5429
|
+
type: "string"
|
|
5430
|
+
},
|
|
5431
|
+
value: {
|
|
5432
|
+
type: "unknown"
|
|
5433
|
+
}
|
|
5434
|
+
}
|
|
5435
|
+
},
|
|
5436
|
+
delete: {
|
|
5437
|
+
type: "object",
|
|
5438
|
+
required: ["action", "collection", "rkey"],
|
|
5439
|
+
properties: {
|
|
5440
|
+
action: {
|
|
5441
|
+
type: "string",
|
|
5442
|
+
const: "delete"
|
|
5443
|
+
},
|
|
5444
|
+
collection: {
|
|
5445
|
+
type: "string"
|
|
5446
|
+
},
|
|
5447
|
+
rkey: {
|
|
5448
|
+
type: "string"
|
|
5449
|
+
}
|
|
5450
|
+
}
|
|
5451
|
+
}
|
|
5452
|
+
}
|
|
5453
|
+
},
|
|
5454
|
+
ComAtprotoRepoCreateRecord: {
|
|
5455
|
+
lexicon: 1,
|
|
5456
|
+
id: "com.atproto.repo.createRecord",
|
|
5457
|
+
defs: {
|
|
5458
|
+
main: {
|
|
5459
|
+
type: "procedure",
|
|
5460
|
+
description: "Create a new record.",
|
|
5461
|
+
input: {
|
|
5462
|
+
encoding: "application/json",
|
|
5463
|
+
schema: {
|
|
5464
|
+
type: "object",
|
|
5465
|
+
required: ["did", "collection", "record"],
|
|
5466
|
+
properties: {
|
|
5467
|
+
did: {
|
|
5468
|
+
type: "string",
|
|
5469
|
+
description: "The DID of the repo."
|
|
5470
|
+
},
|
|
5471
|
+
collection: {
|
|
5472
|
+
type: "string",
|
|
5473
|
+
description: "The NSID of the record collection."
|
|
5474
|
+
},
|
|
5475
|
+
validate: {
|
|
5476
|
+
type: "boolean",
|
|
5477
|
+
default: true,
|
|
5478
|
+
description: "Validate the record?"
|
|
5479
|
+
},
|
|
5480
|
+
record: {
|
|
5481
|
+
type: "unknown",
|
|
5482
|
+
description: "The record to create."
|
|
5483
|
+
}
|
|
5484
|
+
}
|
|
5485
|
+
}
|
|
5486
|
+
},
|
|
5487
|
+
output: {
|
|
5488
|
+
encoding: "application/json",
|
|
5489
|
+
schema: {
|
|
5490
|
+
type: "object",
|
|
5491
|
+
required: ["uri", "cid"],
|
|
5492
|
+
properties: {
|
|
5493
|
+
uri: {
|
|
5494
|
+
type: "string"
|
|
5495
|
+
},
|
|
5496
|
+
cid: {
|
|
5497
|
+
type: "string"
|
|
5498
|
+
}
|
|
5499
|
+
}
|
|
5500
|
+
}
|
|
5501
|
+
}
|
|
5502
|
+
}
|
|
5503
|
+
}
|
|
5504
|
+
},
|
|
5505
|
+
ComAtprotoRepoDeleteRecord: {
|
|
5506
|
+
lexicon: 1,
|
|
5507
|
+
id: "com.atproto.repo.deleteRecord",
|
|
5508
|
+
defs: {
|
|
5509
|
+
main: {
|
|
5510
|
+
type: "procedure",
|
|
5511
|
+
description: "Delete a record.",
|
|
5512
|
+
input: {
|
|
5513
|
+
encoding: "application/json",
|
|
5514
|
+
schema: {
|
|
5515
|
+
type: "object",
|
|
5516
|
+
required: ["did", "collection", "rkey"],
|
|
5517
|
+
properties: {
|
|
5518
|
+
did: {
|
|
5519
|
+
type: "string",
|
|
5520
|
+
description: "The DID of the repo."
|
|
5521
|
+
},
|
|
5522
|
+
collection: {
|
|
5523
|
+
type: "string",
|
|
5524
|
+
description: "The NSID of the record collection."
|
|
5525
|
+
},
|
|
5526
|
+
rkey: {
|
|
5527
|
+
type: "string",
|
|
5528
|
+
description: "The key of the record."
|
|
5529
|
+
}
|
|
5530
|
+
}
|
|
5531
|
+
}
|
|
5532
|
+
}
|
|
5533
|
+
}
|
|
5534
|
+
}
|
|
5535
|
+
},
|
|
5536
|
+
ComAtprotoRepoDescribe: {
|
|
5537
|
+
lexicon: 1,
|
|
5538
|
+
id: "com.atproto.repo.describe",
|
|
5539
|
+
defs: {
|
|
5540
|
+
main: {
|
|
5541
|
+
type: "query",
|
|
5542
|
+
description: "Get information about the repo, including the list of collections.",
|
|
5543
|
+
parameters: {
|
|
5544
|
+
type: "params",
|
|
5545
|
+
required: ["user"],
|
|
5546
|
+
properties: {
|
|
5547
|
+
user: {
|
|
5548
|
+
type: "string",
|
|
5549
|
+
description: "The handle or DID of the repo."
|
|
5550
|
+
}
|
|
5551
|
+
}
|
|
5552
|
+
},
|
|
5553
|
+
output: {
|
|
5554
|
+
encoding: "application/json",
|
|
5555
|
+
schema: {
|
|
5556
|
+
type: "object",
|
|
5557
|
+
required: [
|
|
5558
|
+
"handle",
|
|
5559
|
+
"did",
|
|
5560
|
+
"didDoc",
|
|
5561
|
+
"collections",
|
|
5562
|
+
"handleIsCorrect"
|
|
5563
|
+
],
|
|
5564
|
+
properties: {
|
|
5565
|
+
handle: {
|
|
5566
|
+
type: "string"
|
|
4736
5567
|
},
|
|
4737
5568
|
did: {
|
|
4738
5569
|
type: "string"
|
|
@@ -4937,6 +5768,41 @@ var schemaDict = {
|
|
|
4937
5768
|
}
|
|
4938
5769
|
}
|
|
4939
5770
|
},
|
|
5771
|
+
ComAtprotoRepoRecordRef: {
|
|
5772
|
+
lexicon: 1,
|
|
5773
|
+
id: "com.atproto.repo.recordRef",
|
|
5774
|
+
description: "A URI with optional content-hash fingerprint.",
|
|
5775
|
+
defs: {
|
|
5776
|
+
main: {
|
|
5777
|
+
type: "object",
|
|
5778
|
+
required: ["uri"],
|
|
5779
|
+
properties: {
|
|
5780
|
+
uri: {
|
|
5781
|
+
type: "string"
|
|
5782
|
+
},
|
|
5783
|
+
cid: {
|
|
5784
|
+
type: "string"
|
|
5785
|
+
}
|
|
5786
|
+
}
|
|
5787
|
+
}
|
|
5788
|
+
}
|
|
5789
|
+
},
|
|
5790
|
+
ComAtprotoRepoRepoRef: {
|
|
5791
|
+
lexicon: 1,
|
|
5792
|
+
id: "com.atproto.repo.repoRef",
|
|
5793
|
+
description: "A did identifying a repository.",
|
|
5794
|
+
defs: {
|
|
5795
|
+
main: {
|
|
5796
|
+
type: "object",
|
|
5797
|
+
required: ["did"],
|
|
5798
|
+
properties: {
|
|
5799
|
+
did: {
|
|
5800
|
+
type: "string"
|
|
5801
|
+
}
|
|
5802
|
+
}
|
|
5803
|
+
}
|
|
5804
|
+
}
|
|
5805
|
+
},
|
|
4940
5806
|
ComAtprotoRepoStrongRef: {
|
|
4941
5807
|
lexicon: 1,
|
|
4942
5808
|
id: "com.atproto.repo.strongRef",
|
|
@@ -4956,6 +5822,148 @@ var schemaDict = {
|
|
|
4956
5822
|
}
|
|
4957
5823
|
}
|
|
4958
5824
|
},
|
|
5825
|
+
ComAtprotoReportCreate: {
|
|
5826
|
+
lexicon: 1,
|
|
5827
|
+
id: "com.atproto.report.create",
|
|
5828
|
+
defs: {
|
|
5829
|
+
main: {
|
|
5830
|
+
type: "procedure",
|
|
5831
|
+
description: "Report a repo or a record.",
|
|
5832
|
+
input: {
|
|
5833
|
+
encoding: "application/json",
|
|
5834
|
+
schema: {
|
|
5835
|
+
type: "object",
|
|
5836
|
+
required: ["reasonType", "subject"],
|
|
5837
|
+
properties: {
|
|
5838
|
+
reasonType: {
|
|
5839
|
+
type: "ref",
|
|
5840
|
+
ref: "lex:com.atproto.report.reasonType"
|
|
5841
|
+
},
|
|
5842
|
+
reason: {
|
|
5843
|
+
type: "string"
|
|
5844
|
+
},
|
|
5845
|
+
subject: {
|
|
5846
|
+
type: "union",
|
|
5847
|
+
refs: [
|
|
5848
|
+
"lex:com.atproto.repo.repoRef",
|
|
5849
|
+
"lex:com.atproto.repo.recordRef"
|
|
5850
|
+
]
|
|
5851
|
+
}
|
|
5852
|
+
}
|
|
5853
|
+
}
|
|
5854
|
+
},
|
|
5855
|
+
output: {
|
|
5856
|
+
encoding: "application/json",
|
|
5857
|
+
schema: {
|
|
5858
|
+
type: "object",
|
|
5859
|
+
required: [
|
|
5860
|
+
"id",
|
|
5861
|
+
"reasonType",
|
|
5862
|
+
"subject",
|
|
5863
|
+
"reportedByDid",
|
|
5864
|
+
"createdAt"
|
|
5865
|
+
],
|
|
5866
|
+
properties: {
|
|
5867
|
+
id: {
|
|
5868
|
+
type: "integer"
|
|
5869
|
+
},
|
|
5870
|
+
reasonType: {
|
|
5871
|
+
type: "ref",
|
|
5872
|
+
ref: "lex:com.atproto.report.reasonType"
|
|
5873
|
+
},
|
|
5874
|
+
reason: {
|
|
5875
|
+
type: "string"
|
|
5876
|
+
},
|
|
5877
|
+
subject: {
|
|
5878
|
+
type: "union",
|
|
5879
|
+
refs: [
|
|
5880
|
+
"lex:com.atproto.repo.repoRef",
|
|
5881
|
+
"lex:com.atproto.repo.strongRef"
|
|
5882
|
+
]
|
|
5883
|
+
},
|
|
5884
|
+
reportedByDid: {
|
|
5885
|
+
type: "string"
|
|
5886
|
+
},
|
|
5887
|
+
createdAt: {
|
|
5888
|
+
type: "datetime"
|
|
5889
|
+
}
|
|
5890
|
+
}
|
|
5891
|
+
}
|
|
5892
|
+
}
|
|
5893
|
+
}
|
|
5894
|
+
}
|
|
5895
|
+
},
|
|
5896
|
+
ComAtprotoReportReasonType: {
|
|
5897
|
+
lexicon: 1,
|
|
5898
|
+
id: "com.atproto.report.reasonType",
|
|
5899
|
+
defs: {
|
|
5900
|
+
main: {
|
|
5901
|
+
type: "string",
|
|
5902
|
+
knownValues: [
|
|
5903
|
+
"com.atproto.report.reason#spam",
|
|
5904
|
+
"com.atproto.report.reason#other"
|
|
5905
|
+
]
|
|
5906
|
+
},
|
|
5907
|
+
spam: {
|
|
5908
|
+
type: "token",
|
|
5909
|
+
description: "Moderation report reason: Spam."
|
|
5910
|
+
},
|
|
5911
|
+
other: {
|
|
5912
|
+
type: "token",
|
|
5913
|
+
description: "Moderation report reason: Other."
|
|
5914
|
+
}
|
|
5915
|
+
}
|
|
5916
|
+
},
|
|
5917
|
+
ComAtprotoReportSubject: {
|
|
5918
|
+
lexicon: 1,
|
|
5919
|
+
id: "com.atproto.report.subject",
|
|
5920
|
+
defs: {
|
|
5921
|
+
repo: {
|
|
5922
|
+
type: "object",
|
|
5923
|
+
required: ["did"],
|
|
5924
|
+
properties: {
|
|
5925
|
+
did: {
|
|
5926
|
+
type: "string",
|
|
5927
|
+
description: "The DID of the repo."
|
|
5928
|
+
}
|
|
5929
|
+
}
|
|
5930
|
+
},
|
|
5931
|
+
record: {
|
|
5932
|
+
type: "object",
|
|
5933
|
+
required: ["did", "collection", "rkey"],
|
|
5934
|
+
properties: {
|
|
5935
|
+
did: {
|
|
5936
|
+
type: "string",
|
|
5937
|
+
description: "The DID of the repo."
|
|
5938
|
+
},
|
|
5939
|
+
collection: {
|
|
5940
|
+
type: "string",
|
|
5941
|
+
description: "The NSID of the collection."
|
|
5942
|
+
},
|
|
5943
|
+
rkey: {
|
|
5944
|
+
type: "string",
|
|
5945
|
+
description: "The key of the record."
|
|
5946
|
+
},
|
|
5947
|
+
cid: {
|
|
5948
|
+
type: "string",
|
|
5949
|
+
description: "The CID of the version of the record. If not specified, defaults to the most recent version."
|
|
5950
|
+
}
|
|
5951
|
+
}
|
|
5952
|
+
},
|
|
5953
|
+
recordRef: {
|
|
5954
|
+
type: "object",
|
|
5955
|
+
required: ["uri", "cid"],
|
|
5956
|
+
properties: {
|
|
5957
|
+
uri: {
|
|
5958
|
+
type: "string"
|
|
5959
|
+
},
|
|
5960
|
+
cid: {
|
|
5961
|
+
type: "string"
|
|
5962
|
+
}
|
|
5963
|
+
}
|
|
5964
|
+
}
|
|
5965
|
+
}
|
|
5966
|
+
},
|
|
4959
5967
|
ComAtprotoServerGetAccountsConfig: {
|
|
4960
5968
|
lexicon: 1,
|
|
4961
5969
|
id: "com.atproto.server.getAccountsConfig",
|
|
@@ -5010,10 +6018,11 @@ var schemaDict = {
|
|
|
5010
6018
|
encoding: "application/json",
|
|
5011
6019
|
schema: {
|
|
5012
6020
|
type: "object",
|
|
5013
|
-
required: ["
|
|
6021
|
+
required: ["password"],
|
|
5014
6022
|
properties: {
|
|
5015
|
-
|
|
5016
|
-
type: "string"
|
|
6023
|
+
identifier: {
|
|
6024
|
+
type: "string",
|
|
6025
|
+
description: "Handle or other identifier supported by the server for the authenticating user."
|
|
5017
6026
|
},
|
|
5018
6027
|
password: {
|
|
5019
6028
|
type: "string"
|
|
@@ -5041,7 +6050,12 @@ var schemaDict = {
|
|
|
5041
6050
|
}
|
|
5042
6051
|
}
|
|
5043
6052
|
}
|
|
5044
|
-
}
|
|
6053
|
+
},
|
|
6054
|
+
errors: [
|
|
6055
|
+
{
|
|
6056
|
+
name: "AccountTakedown"
|
|
6057
|
+
}
|
|
6058
|
+
]
|
|
5045
6059
|
}
|
|
5046
6060
|
}
|
|
5047
6061
|
},
|
|
@@ -5107,17 +6121,49 @@ var schemaDict = {
|
|
|
5107
6121
|
}
|
|
5108
6122
|
}
|
|
5109
6123
|
}
|
|
6124
|
+
},
|
|
6125
|
+
errors: [
|
|
6126
|
+
{
|
|
6127
|
+
name: "AccountTakedown"
|
|
6128
|
+
}
|
|
6129
|
+
]
|
|
6130
|
+
}
|
|
6131
|
+
}
|
|
6132
|
+
},
|
|
6133
|
+
ComAtprotoSyncGetCheckout: {
|
|
6134
|
+
lexicon: 1,
|
|
6135
|
+
id: "com.atproto.sync.getCheckout",
|
|
6136
|
+
defs: {
|
|
6137
|
+
main: {
|
|
6138
|
+
type: "query",
|
|
6139
|
+
description: "Gets the repo state.",
|
|
6140
|
+
parameters: {
|
|
6141
|
+
type: "params",
|
|
6142
|
+
required: ["did"],
|
|
6143
|
+
properties: {
|
|
6144
|
+
did: {
|
|
6145
|
+
type: "string",
|
|
6146
|
+
description: "The DID of the repo."
|
|
6147
|
+
},
|
|
6148
|
+
commit: {
|
|
6149
|
+
type: "string",
|
|
6150
|
+
description: "The commit to get the checkout from. Defaults to current HEAD."
|
|
6151
|
+
}
|
|
6152
|
+
}
|
|
6153
|
+
},
|
|
6154
|
+
output: {
|
|
6155
|
+
encoding: "application/vnd.ipld.car"
|
|
5110
6156
|
}
|
|
5111
6157
|
}
|
|
5112
6158
|
}
|
|
5113
6159
|
},
|
|
5114
|
-
|
|
6160
|
+
ComAtprotoSyncGetCommitPath: {
|
|
5115
6161
|
lexicon: 1,
|
|
5116
|
-
id: "com.atproto.sync.
|
|
6162
|
+
id: "com.atproto.sync.getCommitPath",
|
|
5117
6163
|
defs: {
|
|
5118
6164
|
main: {
|
|
5119
6165
|
type: "query",
|
|
5120
|
-
description: "Gets the repo
|
|
6166
|
+
description: "Gets the path of repo commits",
|
|
5121
6167
|
parameters: {
|
|
5122
6168
|
type: "params",
|
|
5123
6169
|
required: ["did"],
|
|
@@ -5126,25 +6172,41 @@ var schemaDict = {
|
|
|
5126
6172
|
type: "string",
|
|
5127
6173
|
description: "The DID of the repo."
|
|
5128
6174
|
},
|
|
5129
|
-
|
|
6175
|
+
latest: {
|
|
5130
6176
|
type: "string",
|
|
5131
|
-
description: "
|
|
6177
|
+
description: "The most recent commit"
|
|
6178
|
+
},
|
|
6179
|
+
earliest: {
|
|
6180
|
+
type: "string",
|
|
6181
|
+
description: "The earliest commit to start from"
|
|
5132
6182
|
}
|
|
5133
6183
|
}
|
|
5134
6184
|
},
|
|
5135
6185
|
output: {
|
|
5136
|
-
encoding: "application/
|
|
6186
|
+
encoding: "application/json",
|
|
6187
|
+
schema: {
|
|
6188
|
+
type: "object",
|
|
6189
|
+
required: ["commits"],
|
|
6190
|
+
properties: {
|
|
6191
|
+
commits: {
|
|
6192
|
+
type: "array",
|
|
6193
|
+
items: {
|
|
6194
|
+
type: "string"
|
|
6195
|
+
}
|
|
6196
|
+
}
|
|
6197
|
+
}
|
|
6198
|
+
}
|
|
5137
6199
|
}
|
|
5138
6200
|
}
|
|
5139
6201
|
}
|
|
5140
6202
|
},
|
|
5141
|
-
|
|
6203
|
+
ComAtprotoSyncGetHead: {
|
|
5142
6204
|
lexicon: 1,
|
|
5143
|
-
id: "com.atproto.sync.
|
|
6205
|
+
id: "com.atproto.sync.getHead",
|
|
5144
6206
|
defs: {
|
|
5145
6207
|
main: {
|
|
5146
6208
|
type: "query",
|
|
5147
|
-
description: "Gets the current
|
|
6209
|
+
description: "Gets the current HEAD CID of a repo.",
|
|
5148
6210
|
parameters: {
|
|
5149
6211
|
type: "params",
|
|
5150
6212
|
required: ["did"],
|
|
@@ -5170,78 +6232,63 @@ var schemaDict = {
|
|
|
5170
6232
|
}
|
|
5171
6233
|
}
|
|
5172
6234
|
},
|
|
5173
|
-
|
|
6235
|
+
ComAtprotoSyncGetRecord: {
|
|
5174
6236
|
lexicon: 1,
|
|
5175
|
-
id: "com.atproto.sync.
|
|
6237
|
+
id: "com.atproto.sync.getRecord",
|
|
5176
6238
|
defs: {
|
|
5177
6239
|
main: {
|
|
5178
|
-
type: "
|
|
5179
|
-
description: "
|
|
6240
|
+
type: "query",
|
|
6241
|
+
description: "Gets blocks needed for existence or non-existence of record.",
|
|
5180
6242
|
parameters: {
|
|
5181
6243
|
type: "params",
|
|
5182
|
-
required: ["did"],
|
|
6244
|
+
required: ["did", "collection", "rkey"],
|
|
5183
6245
|
properties: {
|
|
5184
6246
|
did: {
|
|
5185
6247
|
type: "string",
|
|
5186
6248
|
description: "The DID of the repo."
|
|
6249
|
+
},
|
|
6250
|
+
collection: {
|
|
6251
|
+
type: "string"
|
|
6252
|
+
},
|
|
6253
|
+
rkey: {
|
|
6254
|
+
type: "string"
|
|
6255
|
+
},
|
|
6256
|
+
commit: {
|
|
6257
|
+
type: "string",
|
|
6258
|
+
description: "An optional past commit CID."
|
|
5187
6259
|
}
|
|
5188
6260
|
}
|
|
5189
6261
|
},
|
|
5190
|
-
|
|
5191
|
-
encoding: "application/
|
|
6262
|
+
output: {
|
|
6263
|
+
encoding: "application/vnd.ipld.car"
|
|
5192
6264
|
}
|
|
5193
6265
|
}
|
|
5194
6266
|
}
|
|
5195
6267
|
},
|
|
5196
|
-
|
|
6268
|
+
ComAtprotoSyncGetRepo: {
|
|
5197
6269
|
lexicon: 1,
|
|
5198
|
-
id: "
|
|
6270
|
+
id: "com.atproto.sync.getRepo",
|
|
5199
6271
|
defs: {
|
|
5200
6272
|
main: {
|
|
5201
|
-
type: "
|
|
5202
|
-
description: "
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
}
|
|
6273
|
+
type: "query",
|
|
6274
|
+
description: "Gets the repo state.",
|
|
6275
|
+
parameters: {
|
|
6276
|
+
type: "params",
|
|
6277
|
+
required: ["did"],
|
|
6278
|
+
properties: {
|
|
6279
|
+
did: {
|
|
6280
|
+
type: "string",
|
|
6281
|
+
description: "The DID of the repo."
|
|
6282
|
+
},
|
|
6283
|
+
from: {
|
|
6284
|
+
type: "string",
|
|
6285
|
+
description: "A past commit CID."
|
|
5215
6286
|
}
|
|
5216
6287
|
}
|
|
5217
6288
|
},
|
|
5218
6289
|
output: {
|
|
5219
|
-
encoding: "application/
|
|
5220
|
-
|
|
5221
|
-
type: "object",
|
|
5222
|
-
required: ["handle", "did", "declaration"],
|
|
5223
|
-
properties: {
|
|
5224
|
-
handle: {
|
|
5225
|
-
type: "string"
|
|
5226
|
-
},
|
|
5227
|
-
did: {
|
|
5228
|
-
type: "string"
|
|
5229
|
-
},
|
|
5230
|
-
declaration: {
|
|
5231
|
-
type: "ref",
|
|
5232
|
-
ref: "lex:app.bsky.system.declRef"
|
|
5233
|
-
}
|
|
5234
|
-
}
|
|
5235
|
-
}
|
|
5236
|
-
},
|
|
5237
|
-
errors: [
|
|
5238
|
-
{
|
|
5239
|
-
name: "InvalidHandle"
|
|
5240
|
-
},
|
|
5241
|
-
{
|
|
5242
|
-
name: "HandleNotAvailable"
|
|
5243
|
-
}
|
|
5244
|
-
]
|
|
6290
|
+
encoding: "application/vnd.ipld.car"
|
|
6291
|
+
}
|
|
5245
6292
|
}
|
|
5246
6293
|
}
|
|
5247
6294
|
},
|
|
@@ -5271,7 +6318,6 @@ var schemaDict = {
|
|
|
5271
6318
|
"creator",
|
|
5272
6319
|
"followersCount",
|
|
5273
6320
|
"followsCount",
|
|
5274
|
-
"membersCount",
|
|
5275
6321
|
"postsCount"
|
|
5276
6322
|
],
|
|
5277
6323
|
properties: {
|
|
@@ -5308,9 +6354,6 @@ var schemaDict = {
|
|
|
5308
6354
|
followsCount: {
|
|
5309
6355
|
type: "integer"
|
|
5310
6356
|
},
|
|
5311
|
-
membersCount: {
|
|
5312
|
-
type: "integer"
|
|
5313
|
-
},
|
|
5314
6357
|
postsCount: {
|
|
5315
6358
|
type: "integer"
|
|
5316
6359
|
},
|
|
@@ -5328,9 +6371,6 @@ var schemaDict = {
|
|
|
5328
6371
|
follow: {
|
|
5329
6372
|
type: "string"
|
|
5330
6373
|
},
|
|
5331
|
-
member: {
|
|
5332
|
-
type: "string"
|
|
5333
|
-
},
|
|
5334
6374
|
muted: {
|
|
5335
6375
|
type: "boolean"
|
|
5336
6376
|
}
|
|
@@ -5523,7 +6563,6 @@ var schemaDict = {
|
|
|
5523
6563
|
description: "Find users matching search criteria.",
|
|
5524
6564
|
parameters: {
|
|
5525
6565
|
type: "params",
|
|
5526
|
-
required: ["term"],
|
|
5527
6566
|
properties: {
|
|
5528
6567
|
term: {
|
|
5529
6568
|
type: "string"
|
|
@@ -5599,7 +6638,6 @@ var schemaDict = {
|
|
|
5599
6638
|
description: "Find user suggestions for a search term.",
|
|
5600
6639
|
parameters: {
|
|
5601
6640
|
type: "params",
|
|
5602
|
-
required: ["term"],
|
|
5603
6641
|
properties: {
|
|
5604
6642
|
term: {
|
|
5605
6643
|
type: "string"
|
|
@@ -5666,9 +6704,6 @@ var schemaDict = {
|
|
|
5666
6704
|
schema: {
|
|
5667
6705
|
type: "object",
|
|
5668
6706
|
properties: {
|
|
5669
|
-
did: {
|
|
5670
|
-
type: "string"
|
|
5671
|
-
},
|
|
5672
6707
|
displayName: {
|
|
5673
6708
|
type: "string",
|
|
5674
6709
|
maxLength: 64
|
|
@@ -5880,10 +6915,7 @@ var schemaDict = {
|
|
|
5880
6915
|
},
|
|
5881
6916
|
reason: {
|
|
5882
6917
|
type: "union",
|
|
5883
|
-
refs: [
|
|
5884
|
-
"lex:app.bsky.feed.feedViewPost#reasonTrend",
|
|
5885
|
-
"lex:app.bsky.feed.feedViewPost#reasonRepost"
|
|
5886
|
-
]
|
|
6918
|
+
refs: ["lex:app.bsky.feed.feedViewPost#reasonRepost"]
|
|
5887
6919
|
}
|
|
5888
6920
|
}
|
|
5889
6921
|
},
|
|
@@ -5901,19 +6933,6 @@ var schemaDict = {
|
|
|
5901
6933
|
}
|
|
5902
6934
|
}
|
|
5903
6935
|
},
|
|
5904
|
-
reasonTrend: {
|
|
5905
|
-
type: "object",
|
|
5906
|
-
required: ["by", "indexedAt"],
|
|
5907
|
-
properties: {
|
|
5908
|
-
by: {
|
|
5909
|
-
type: "ref",
|
|
5910
|
-
ref: "lex:app.bsky.actor.ref#withInfo"
|
|
5911
|
-
},
|
|
5912
|
-
indexedAt: {
|
|
5913
|
-
type: "datetime"
|
|
5914
|
-
}
|
|
5915
|
-
}
|
|
5916
|
-
},
|
|
5917
6936
|
reasonRepost: {
|
|
5918
6937
|
type: "object",
|
|
5919
6938
|
required: ["by", "indexedAt"],
|
|
@@ -6488,29 +7507,6 @@ var schemaDict = {
|
|
|
6488
7507
|
}
|
|
6489
7508
|
}
|
|
6490
7509
|
},
|
|
6491
|
-
AppBskyFeedTrend: {
|
|
6492
|
-
lexicon: 1,
|
|
6493
|
-
id: "app.bsky.feed.trend",
|
|
6494
|
-
defs: {
|
|
6495
|
-
main: {
|
|
6496
|
-
type: "record",
|
|
6497
|
-
key: "tid",
|
|
6498
|
-
record: {
|
|
6499
|
-
type: "object",
|
|
6500
|
-
required: ["subject", "createdAt"],
|
|
6501
|
-
properties: {
|
|
6502
|
-
subject: {
|
|
6503
|
-
type: "ref",
|
|
6504
|
-
ref: "lex:com.atproto.repo.strongRef"
|
|
6505
|
-
},
|
|
6506
|
-
createdAt: {
|
|
6507
|
-
type: "datetime"
|
|
6508
|
-
}
|
|
6509
|
-
}
|
|
6510
|
-
}
|
|
6511
|
-
}
|
|
6512
|
-
}
|
|
6513
|
-
},
|
|
6514
7510
|
AppBskyFeedVote: {
|
|
6515
7511
|
lexicon: 1,
|
|
6516
7512
|
id: "app.bsky.feed.vote",
|
|
@@ -6616,134 +7612,20 @@ var schemaDict = {
|
|
|
6616
7612
|
id: "app.bsky.graph.follow",
|
|
6617
7613
|
defs: {
|
|
6618
7614
|
main: {
|
|
6619
|
-
type: "record",
|
|
6620
|
-
description: "A social follow.",
|
|
6621
|
-
key: "tid",
|
|
6622
|
-
record: {
|
|
6623
|
-
type: "object",
|
|
6624
|
-
required: ["subject", "createdAt"],
|
|
6625
|
-
properties: {
|
|
6626
|
-
subject: {
|
|
6627
|
-
type: "ref",
|
|
6628
|
-
ref: "lex:app.bsky.actor.ref"
|
|
6629
|
-
},
|
|
6630
|
-
createdAt: {
|
|
6631
|
-
type: "datetime"
|
|
6632
|
-
}
|
|
6633
|
-
}
|
|
6634
|
-
}
|
|
6635
|
-
}
|
|
6636
|
-
}
|
|
6637
|
-
},
|
|
6638
|
-
AppBskyGraphGetAssertions: {
|
|
6639
|
-
lexicon: 1,
|
|
6640
|
-
id: "app.bsky.graph.getAssertions",
|
|
6641
|
-
defs: {
|
|
6642
|
-
main: {
|
|
6643
|
-
type: "query",
|
|
6644
|
-
description: "General-purpose query for assertions.",
|
|
6645
|
-
parameters: {
|
|
6646
|
-
type: "params",
|
|
6647
|
-
properties: {
|
|
6648
|
-
author: {
|
|
6649
|
-
type: "string"
|
|
6650
|
-
},
|
|
6651
|
-
subject: {
|
|
6652
|
-
type: "string"
|
|
6653
|
-
},
|
|
6654
|
-
assertion: {
|
|
6655
|
-
type: "string"
|
|
6656
|
-
},
|
|
6657
|
-
confirmed: {
|
|
6658
|
-
type: "boolean"
|
|
6659
|
-
},
|
|
6660
|
-
limit: {
|
|
6661
|
-
type: "integer",
|
|
6662
|
-
minimum: 1,
|
|
6663
|
-
maximum: 100,
|
|
6664
|
-
default: 50
|
|
6665
|
-
},
|
|
6666
|
-
before: {
|
|
6667
|
-
type: "string"
|
|
6668
|
-
}
|
|
6669
|
-
}
|
|
6670
|
-
},
|
|
6671
|
-
output: {
|
|
6672
|
-
encoding: "application/json",
|
|
6673
|
-
schema: {
|
|
6674
|
-
type: "object",
|
|
6675
|
-
required: ["assertions"],
|
|
6676
|
-
properties: {
|
|
6677
|
-
cursor: {
|
|
6678
|
-
type: "string"
|
|
6679
|
-
},
|
|
6680
|
-
assertions: {
|
|
6681
|
-
type: "array",
|
|
6682
|
-
items: {
|
|
6683
|
-
type: "ref",
|
|
6684
|
-
ref: "lex:app.bsky.graph.getAssertions#assertion"
|
|
6685
|
-
}
|
|
6686
|
-
}
|
|
6687
|
-
}
|
|
6688
|
-
}
|
|
6689
|
-
}
|
|
6690
|
-
},
|
|
6691
|
-
assertion: {
|
|
6692
|
-
type: "object",
|
|
6693
|
-
required: [
|
|
6694
|
-
"uri",
|
|
6695
|
-
"cid",
|
|
6696
|
-
"assertion",
|
|
6697
|
-
"author",
|
|
6698
|
-
"subject",
|
|
6699
|
-
"indexedAt",
|
|
6700
|
-
"createdAt"
|
|
6701
|
-
],
|
|
6702
|
-
properties: {
|
|
6703
|
-
uri: {
|
|
6704
|
-
type: "string"
|
|
6705
|
-
},
|
|
6706
|
-
cid: {
|
|
6707
|
-
type: "string"
|
|
6708
|
-
},
|
|
6709
|
-
assertion: {
|
|
6710
|
-
type: "string"
|
|
6711
|
-
},
|
|
6712
|
-
confirmation: {
|
|
6713
|
-
type: "ref",
|
|
6714
|
-
ref: "lex:app.bsky.graph.getAssertions#confirmation"
|
|
6715
|
-
},
|
|
6716
|
-
author: {
|
|
6717
|
-
type: "ref",
|
|
6718
|
-
ref: "lex:app.bsky.actor.ref#withInfo"
|
|
6719
|
-
},
|
|
6720
|
-
subject: {
|
|
6721
|
-
type: "ref",
|
|
6722
|
-
ref: "lex:app.bsky.actor.ref#withInfo"
|
|
6723
|
-
},
|
|
6724
|
-
indexedAt: {
|
|
6725
|
-
type: "datetime"
|
|
6726
|
-
},
|
|
6727
|
-
createdAt: {
|
|
6728
|
-
type: "datetime"
|
|
6729
|
-
}
|
|
6730
|
-
}
|
|
6731
|
-
},
|
|
6732
|
-
confirmation: {
|
|
6733
|
-
type: "object",
|
|
6734
|
-
required: ["uri", "cid", "indexedAt", "createdAt"],
|
|
6735
|
-
properties: {
|
|
6736
|
-
uri: {
|
|
6737
|
-
type: "string"
|
|
6738
|
-
},
|
|
6739
|
-
cid: {
|
|
6740
|
-
type: "string"
|
|
6741
|
-
},
|
|
6742
|
-
indexedAt: {
|
|
6743
|
-
type: "datetime"
|
|
6744
|
-
},
|
|
6745
|
-
createdAt: {
|
|
6746
|
-
type: "datetime"
|
|
7615
|
+
type: "record",
|
|
7616
|
+
description: "A social follow.",
|
|
7617
|
+
key: "tid",
|
|
7618
|
+
record: {
|
|
7619
|
+
type: "object",
|
|
7620
|
+
required: ["subject", "createdAt"],
|
|
7621
|
+
properties: {
|
|
7622
|
+
subject: {
|
|
7623
|
+
type: "ref",
|
|
7624
|
+
ref: "lex:app.bsky.actor.ref"
|
|
7625
|
+
},
|
|
7626
|
+
createdAt: {
|
|
7627
|
+
type: "datetime"
|
|
7628
|
+
}
|
|
6747
7629
|
}
|
|
6748
7630
|
}
|
|
6749
7631
|
}
|
|
@@ -6896,160 +7778,9 @@ var schemaDict = {
|
|
|
6896
7778
|
type: "string",
|
|
6897
7779
|
maxLength: 64
|
|
6898
7780
|
},
|
|
6899
|
-
|
|
6900
|
-
type: "datetime"
|
|
6901
|
-
},
|
|
6902
|
-
indexedAt: {
|
|
6903
|
-
type: "datetime"
|
|
6904
|
-
}
|
|
6905
|
-
}
|
|
6906
|
-
}
|
|
6907
|
-
}
|
|
6908
|
-
},
|
|
6909
|
-
AppBskyGraphGetMembers: {
|
|
6910
|
-
lexicon: 1,
|
|
6911
|
-
id: "app.bsky.graph.getMembers",
|
|
6912
|
-
defs: {
|
|
6913
|
-
main: {
|
|
6914
|
-
type: "query",
|
|
6915
|
-
description: "Who is a member of the group?",
|
|
6916
|
-
parameters: {
|
|
6917
|
-
type: "params",
|
|
6918
|
-
required: ["actor"],
|
|
6919
|
-
properties: {
|
|
6920
|
-
actor: {
|
|
6921
|
-
type: "string"
|
|
6922
|
-
},
|
|
6923
|
-
limit: {
|
|
6924
|
-
type: "integer",
|
|
6925
|
-
minimum: 1,
|
|
6926
|
-
maximum: 100,
|
|
6927
|
-
default: 50
|
|
6928
|
-
},
|
|
6929
|
-
before: {
|
|
6930
|
-
type: "string"
|
|
6931
|
-
}
|
|
6932
|
-
}
|
|
6933
|
-
},
|
|
6934
|
-
output: {
|
|
6935
|
-
encoding: "application/json",
|
|
6936
|
-
schema: {
|
|
6937
|
-
type: "object",
|
|
6938
|
-
required: ["subject", "members"],
|
|
6939
|
-
properties: {
|
|
6940
|
-
subject: {
|
|
6941
|
-
type: "ref",
|
|
6942
|
-
ref: "lex:app.bsky.actor.ref#withInfo"
|
|
6943
|
-
},
|
|
6944
|
-
cursor: {
|
|
6945
|
-
type: "string"
|
|
6946
|
-
},
|
|
6947
|
-
members: {
|
|
6948
|
-
type: "array",
|
|
6949
|
-
items: {
|
|
6950
|
-
type: "ref",
|
|
6951
|
-
ref: "lex:app.bsky.graph.getMembers#member"
|
|
6952
|
-
}
|
|
6953
|
-
}
|
|
6954
|
-
}
|
|
6955
|
-
}
|
|
6956
|
-
}
|
|
6957
|
-
},
|
|
6958
|
-
member: {
|
|
6959
|
-
type: "object",
|
|
6960
|
-
required: ["did", "declaration", "handle", "indexedAt"],
|
|
6961
|
-
properties: {
|
|
6962
|
-
did: {
|
|
6963
|
-
type: "string"
|
|
6964
|
-
},
|
|
6965
|
-
declaration: {
|
|
6966
|
-
type: "ref",
|
|
6967
|
-
ref: "lex:app.bsky.system.declRef"
|
|
6968
|
-
},
|
|
6969
|
-
handle: {
|
|
6970
|
-
type: "string"
|
|
6971
|
-
},
|
|
6972
|
-
displayName: {
|
|
6973
|
-
type: "string",
|
|
6974
|
-
maxLength: 64
|
|
6975
|
-
},
|
|
6976
|
-
createdAt: {
|
|
6977
|
-
type: "datetime"
|
|
6978
|
-
},
|
|
6979
|
-
indexedAt: {
|
|
6980
|
-
type: "datetime"
|
|
6981
|
-
}
|
|
6982
|
-
}
|
|
6983
|
-
}
|
|
6984
|
-
}
|
|
6985
|
-
},
|
|
6986
|
-
AppBskyGraphGetMemberships: {
|
|
6987
|
-
lexicon: 1,
|
|
6988
|
-
id: "app.bsky.graph.getMemberships",
|
|
6989
|
-
defs: {
|
|
6990
|
-
main: {
|
|
6991
|
-
type: "query",
|
|
6992
|
-
description: "Which groups is the actor a member of?",
|
|
6993
|
-
parameters: {
|
|
6994
|
-
type: "params",
|
|
6995
|
-
required: ["actor"],
|
|
6996
|
-
properties: {
|
|
6997
|
-
actor: {
|
|
6998
|
-
type: "string"
|
|
6999
|
-
},
|
|
7000
|
-
limit: {
|
|
7001
|
-
type: "integer",
|
|
7002
|
-
minimum: 1,
|
|
7003
|
-
maximum: 100,
|
|
7004
|
-
default: 50
|
|
7005
|
-
},
|
|
7006
|
-
before: {
|
|
7007
|
-
type: "string"
|
|
7008
|
-
}
|
|
7009
|
-
}
|
|
7010
|
-
},
|
|
7011
|
-
output: {
|
|
7012
|
-
encoding: "application/json",
|
|
7013
|
-
schema: {
|
|
7014
|
-
type: "object",
|
|
7015
|
-
required: ["subject", "memberships"],
|
|
7016
|
-
properties: {
|
|
7017
|
-
subject: {
|
|
7018
|
-
type: "ref",
|
|
7019
|
-
ref: "lex:app.bsky.actor.ref#withInfo"
|
|
7020
|
-
},
|
|
7021
|
-
cursor: {
|
|
7022
|
-
type: "string"
|
|
7023
|
-
},
|
|
7024
|
-
memberships: {
|
|
7025
|
-
type: "array",
|
|
7026
|
-
items: {
|
|
7027
|
-
type: "ref",
|
|
7028
|
-
ref: "lex:app.bsky.graph.getMemberships#membership"
|
|
7029
|
-
}
|
|
7030
|
-
}
|
|
7031
|
-
}
|
|
7032
|
-
}
|
|
7033
|
-
}
|
|
7034
|
-
},
|
|
7035
|
-
membership: {
|
|
7036
|
-
type: "object",
|
|
7037
|
-
required: ["did", "declaration", "handle", "indexedAt"],
|
|
7038
|
-
properties: {
|
|
7039
|
-
did: {
|
|
7040
|
-
type: "string"
|
|
7041
|
-
},
|
|
7042
|
-
declaration: {
|
|
7043
|
-
type: "ref",
|
|
7044
|
-
ref: "lex:app.bsky.system.declRef"
|
|
7045
|
-
},
|
|
7046
|
-
handle: {
|
|
7781
|
+
avatar: {
|
|
7047
7782
|
type: "string"
|
|
7048
7783
|
},
|
|
7049
|
-
displayName: {
|
|
7050
|
-
type: "string",
|
|
7051
|
-
maxLength: 64
|
|
7052
|
-
},
|
|
7053
7784
|
createdAt: {
|
|
7054
7785
|
type: "datetime"
|
|
7055
7786
|
},
|
|
@@ -7255,11 +7986,10 @@ var schemaDict = {
|
|
|
7255
7986
|
},
|
|
7256
7987
|
reason: {
|
|
7257
7988
|
type: "string",
|
|
7258
|
-
description: "Expected values are 'vote', 'repost', '
|
|
7989
|
+
description: "Expected values are 'vote', 'repost', 'follow', 'invite', 'mention' and 'reply'.",
|
|
7259
7990
|
knownValues: [
|
|
7260
7991
|
"vote",
|
|
7261
7992
|
"repost",
|
|
7262
|
-
"trend",
|
|
7263
7993
|
"follow",
|
|
7264
7994
|
"invite",
|
|
7265
7995
|
"mention",
|
|
@@ -7304,16 +8034,6 @@ var schemaDict = {
|
|
|
7304
8034
|
}
|
|
7305
8035
|
}
|
|
7306
8036
|
},
|
|
7307
|
-
AppBskySystemActorScene: {
|
|
7308
|
-
lexicon: 1,
|
|
7309
|
-
id: "app.bsky.system.actorScene",
|
|
7310
|
-
defs: {
|
|
7311
|
-
main: {
|
|
7312
|
-
type: "token",
|
|
7313
|
-
description: "Actor type: Scene. Defined for app.bsky.system.declaration's actorType."
|
|
7314
|
-
}
|
|
7315
|
-
}
|
|
7316
|
-
},
|
|
7317
8037
|
AppBskySystemActorUser: {
|
|
7318
8038
|
lexicon: 1,
|
|
7319
8039
|
id: "app.bsky.system.actorUser",
|
|
@@ -7338,10 +8058,7 @@ var schemaDict = {
|
|
|
7338
8058
|
},
|
|
7339
8059
|
actorType: {
|
|
7340
8060
|
type: "string",
|
|
7341
|
-
knownValues: [
|
|
7342
|
-
"app.bsky.system.actorUser",
|
|
7343
|
-
"app.bsky.system.actorScene"
|
|
7344
|
-
]
|
|
8061
|
+
knownValues: ["app.bsky.system.actorUser"]
|
|
7345
8062
|
}
|
|
7346
8063
|
}
|
|
7347
8064
|
}
|
|
@@ -7361,10 +8078,7 @@ var schemaDict = {
|
|
|
7361
8078
|
properties: {
|
|
7362
8079
|
actorType: {
|
|
7363
8080
|
type: "string",
|
|
7364
|
-
knownValues: [
|
|
7365
|
-
"app.bsky.system.actorUser",
|
|
7366
|
-
"app.bsky.system.actorScene"
|
|
7367
|
-
]
|
|
8081
|
+
knownValues: ["app.bsky.system.actorUser"]
|
|
7368
8082
|
}
|
|
7369
8083
|
}
|
|
7370
8084
|
}
|
|
@@ -7462,29 +8176,139 @@ function toKnownErr5(e) {
|
|
|
7462
8176
|
return e;
|
|
7463
8177
|
}
|
|
7464
8178
|
|
|
7465
|
-
// src/client/types/com/atproto/account/resetPassword.ts
|
|
7466
|
-
var resetPassword_exports = {};
|
|
7467
|
-
__export(resetPassword_exports, {
|
|
7468
|
-
ExpiredTokenError: () => ExpiredTokenError,
|
|
7469
|
-
InvalidTokenError: () => InvalidTokenError,
|
|
7470
|
-
toKnownErr: () => toKnownErr6
|
|
8179
|
+
// src/client/types/com/atproto/account/resetPassword.ts
|
|
8180
|
+
var resetPassword_exports = {};
|
|
8181
|
+
__export(resetPassword_exports, {
|
|
8182
|
+
ExpiredTokenError: () => ExpiredTokenError,
|
|
8183
|
+
InvalidTokenError: () => InvalidTokenError,
|
|
8184
|
+
toKnownErr: () => toKnownErr6
|
|
8185
|
+
});
|
|
8186
|
+
var ExpiredTokenError = class extends XRPCError {
|
|
8187
|
+
constructor(src) {
|
|
8188
|
+
super(src.status, src.error, src.message);
|
|
8189
|
+
}
|
|
8190
|
+
};
|
|
8191
|
+
var InvalidTokenError = class extends XRPCError {
|
|
8192
|
+
constructor(src) {
|
|
8193
|
+
super(src.status, src.error, src.message);
|
|
8194
|
+
}
|
|
8195
|
+
};
|
|
8196
|
+
function toKnownErr6(e) {
|
|
8197
|
+
if (e instanceof XRPCError) {
|
|
8198
|
+
if (e.error === "ExpiredToken")
|
|
8199
|
+
return new ExpiredTokenError(e);
|
|
8200
|
+
if (e.error === "InvalidToken")
|
|
8201
|
+
return new InvalidTokenError(e);
|
|
8202
|
+
}
|
|
8203
|
+
return e;
|
|
8204
|
+
}
|
|
8205
|
+
|
|
8206
|
+
// src/client/types/com/atproto/admin/getModerationAction.ts
|
|
8207
|
+
var getModerationAction_exports = {};
|
|
8208
|
+
__export(getModerationAction_exports, {
|
|
8209
|
+
toKnownErr: () => toKnownErr7
|
|
8210
|
+
});
|
|
8211
|
+
function toKnownErr7(e) {
|
|
8212
|
+
if (e instanceof XRPCError) {
|
|
8213
|
+
}
|
|
8214
|
+
return e;
|
|
8215
|
+
}
|
|
8216
|
+
|
|
8217
|
+
// src/client/types/com/atproto/admin/getModerationActions.ts
|
|
8218
|
+
var getModerationActions_exports = {};
|
|
8219
|
+
__export(getModerationActions_exports, {
|
|
8220
|
+
toKnownErr: () => toKnownErr8
|
|
8221
|
+
});
|
|
8222
|
+
function toKnownErr8(e) {
|
|
8223
|
+
if (e instanceof XRPCError) {
|
|
8224
|
+
}
|
|
8225
|
+
return e;
|
|
8226
|
+
}
|
|
8227
|
+
|
|
8228
|
+
// src/client/types/com/atproto/admin/getModerationReport.ts
|
|
8229
|
+
var getModerationReport_exports = {};
|
|
8230
|
+
__export(getModerationReport_exports, {
|
|
8231
|
+
toKnownErr: () => toKnownErr9
|
|
8232
|
+
});
|
|
8233
|
+
function toKnownErr9(e) {
|
|
8234
|
+
if (e instanceof XRPCError) {
|
|
8235
|
+
}
|
|
8236
|
+
return e;
|
|
8237
|
+
}
|
|
8238
|
+
|
|
8239
|
+
// src/client/types/com/atproto/admin/getModerationReports.ts
|
|
8240
|
+
var getModerationReports_exports = {};
|
|
8241
|
+
__export(getModerationReports_exports, {
|
|
8242
|
+
toKnownErr: () => toKnownErr10
|
|
8243
|
+
});
|
|
8244
|
+
function toKnownErr10(e) {
|
|
8245
|
+
if (e instanceof XRPCError) {
|
|
8246
|
+
}
|
|
8247
|
+
return e;
|
|
8248
|
+
}
|
|
8249
|
+
|
|
8250
|
+
// src/client/types/com/atproto/admin/getRecord.ts
|
|
8251
|
+
var getRecord_exports = {};
|
|
8252
|
+
__export(getRecord_exports, {
|
|
8253
|
+
toKnownErr: () => toKnownErr11
|
|
8254
|
+
});
|
|
8255
|
+
function toKnownErr11(e) {
|
|
8256
|
+
if (e instanceof XRPCError) {
|
|
8257
|
+
}
|
|
8258
|
+
return e;
|
|
8259
|
+
}
|
|
8260
|
+
|
|
8261
|
+
// src/client/types/com/atproto/admin/getRepo.ts
|
|
8262
|
+
var getRepo_exports = {};
|
|
8263
|
+
__export(getRepo_exports, {
|
|
8264
|
+
toKnownErr: () => toKnownErr12
|
|
8265
|
+
});
|
|
8266
|
+
function toKnownErr12(e) {
|
|
8267
|
+
if (e instanceof XRPCError) {
|
|
8268
|
+
}
|
|
8269
|
+
return e;
|
|
8270
|
+
}
|
|
8271
|
+
|
|
8272
|
+
// src/client/types/com/atproto/admin/resolveModerationReports.ts
|
|
8273
|
+
var resolveModerationReports_exports = {};
|
|
8274
|
+
__export(resolveModerationReports_exports, {
|
|
8275
|
+
toKnownErr: () => toKnownErr13
|
|
8276
|
+
});
|
|
8277
|
+
function toKnownErr13(e) {
|
|
8278
|
+
if (e instanceof XRPCError) {
|
|
8279
|
+
}
|
|
8280
|
+
return e;
|
|
8281
|
+
}
|
|
8282
|
+
|
|
8283
|
+
// src/client/types/com/atproto/admin/reverseModerationAction.ts
|
|
8284
|
+
var reverseModerationAction_exports = {};
|
|
8285
|
+
__export(reverseModerationAction_exports, {
|
|
8286
|
+
toKnownErr: () => toKnownErr14
|
|
8287
|
+
});
|
|
8288
|
+
function toKnownErr14(e) {
|
|
8289
|
+
if (e instanceof XRPCError) {
|
|
8290
|
+
}
|
|
8291
|
+
return e;
|
|
8292
|
+
}
|
|
8293
|
+
|
|
8294
|
+
// src/client/types/com/atproto/admin/searchRepos.ts
|
|
8295
|
+
var searchRepos_exports = {};
|
|
8296
|
+
__export(searchRepos_exports, {
|
|
8297
|
+
toKnownErr: () => toKnownErr15
|
|
7471
8298
|
});
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
super(src.status, src.error, src.message);
|
|
7475
|
-
}
|
|
7476
|
-
};
|
|
7477
|
-
var InvalidTokenError = class extends XRPCError {
|
|
7478
|
-
constructor(src) {
|
|
7479
|
-
super(src.status, src.error, src.message);
|
|
8299
|
+
function toKnownErr15(e) {
|
|
8300
|
+
if (e instanceof XRPCError) {
|
|
7480
8301
|
}
|
|
7481
|
-
|
|
7482
|
-
|
|
8302
|
+
return e;
|
|
8303
|
+
}
|
|
8304
|
+
|
|
8305
|
+
// src/client/types/com/atproto/admin/takeModerationAction.ts
|
|
8306
|
+
var takeModerationAction_exports = {};
|
|
8307
|
+
__export(takeModerationAction_exports, {
|
|
8308
|
+
toKnownErr: () => toKnownErr16
|
|
8309
|
+
});
|
|
8310
|
+
function toKnownErr16(e) {
|
|
7483
8311
|
if (e instanceof XRPCError) {
|
|
7484
|
-
if (e.error === "ExpiredToken")
|
|
7485
|
-
return new ExpiredTokenError(e);
|
|
7486
|
-
if (e.error === "InvalidToken")
|
|
7487
|
-
return new InvalidTokenError(e);
|
|
7488
8312
|
}
|
|
7489
8313
|
return e;
|
|
7490
8314
|
}
|
|
@@ -7492,9 +8316,9 @@ function toKnownErr6(e) {
|
|
|
7492
8316
|
// src/client/types/com/atproto/blob/upload.ts
|
|
7493
8317
|
var upload_exports = {};
|
|
7494
8318
|
__export(upload_exports, {
|
|
7495
|
-
toKnownErr: () =>
|
|
8319
|
+
toKnownErr: () => toKnownErr17
|
|
7496
8320
|
});
|
|
7497
|
-
function
|
|
8321
|
+
function toKnownErr17(e) {
|
|
7498
8322
|
if (e instanceof XRPCError) {
|
|
7499
8323
|
}
|
|
7500
8324
|
return e;
|
|
@@ -7503,9 +8327,9 @@ function toKnownErr7(e) {
|
|
|
7503
8327
|
// src/client/types/com/atproto/handle/resolve.ts
|
|
7504
8328
|
var resolve_exports = {};
|
|
7505
8329
|
__export(resolve_exports, {
|
|
7506
|
-
toKnownErr: () =>
|
|
8330
|
+
toKnownErr: () => toKnownErr18
|
|
7507
8331
|
});
|
|
7508
|
-
function
|
|
8332
|
+
function toKnownErr18(e) {
|
|
7509
8333
|
if (e instanceof XRPCError) {
|
|
7510
8334
|
}
|
|
7511
8335
|
return e;
|
|
@@ -7517,7 +8341,7 @@ __export(batchWrite_exports, {
|
|
|
7517
8341
|
isCreate: () => isCreate,
|
|
7518
8342
|
isDelete: () => isDelete,
|
|
7519
8343
|
isUpdate: () => isUpdate,
|
|
7520
|
-
toKnownErr: () =>
|
|
8344
|
+
toKnownErr: () => toKnownErr19,
|
|
7521
8345
|
validateCreate: () => validateCreate,
|
|
7522
8346
|
validateDelete: () => validateDelete,
|
|
7523
8347
|
validateUpdate: () => validateUpdate
|
|
@@ -7532,7 +8356,7 @@ function hasProp2(data, prop) {
|
|
|
7532
8356
|
}
|
|
7533
8357
|
|
|
7534
8358
|
// src/client/types/com/atproto/repo/batchWrite.ts
|
|
7535
|
-
function
|
|
8359
|
+
function toKnownErr19(e) {
|
|
7536
8360
|
if (e instanceof XRPCError) {
|
|
7537
8361
|
}
|
|
7538
8362
|
return e;
|
|
@@ -7559,9 +8383,9 @@ function validateDelete(v) {
|
|
|
7559
8383
|
// src/client/types/com/atproto/repo/createRecord.ts
|
|
7560
8384
|
var createRecord_exports = {};
|
|
7561
8385
|
__export(createRecord_exports, {
|
|
7562
|
-
toKnownErr: () =>
|
|
8386
|
+
toKnownErr: () => toKnownErr20
|
|
7563
8387
|
});
|
|
7564
|
-
function
|
|
8388
|
+
function toKnownErr20(e) {
|
|
7565
8389
|
if (e instanceof XRPCError) {
|
|
7566
8390
|
}
|
|
7567
8391
|
return e;
|
|
@@ -7570,9 +8394,9 @@ function toKnownErr10(e) {
|
|
|
7570
8394
|
// src/client/types/com/atproto/repo/deleteRecord.ts
|
|
7571
8395
|
var deleteRecord_exports = {};
|
|
7572
8396
|
__export(deleteRecord_exports, {
|
|
7573
|
-
toKnownErr: () =>
|
|
8397
|
+
toKnownErr: () => toKnownErr21
|
|
7574
8398
|
});
|
|
7575
|
-
function
|
|
8399
|
+
function toKnownErr21(e) {
|
|
7576
8400
|
if (e instanceof XRPCError) {
|
|
7577
8401
|
}
|
|
7578
8402
|
return e;
|
|
@@ -7581,20 +8405,20 @@ function toKnownErr11(e) {
|
|
|
7581
8405
|
// src/client/types/com/atproto/repo/describe.ts
|
|
7582
8406
|
var describe_exports = {};
|
|
7583
8407
|
__export(describe_exports, {
|
|
7584
|
-
toKnownErr: () =>
|
|
8408
|
+
toKnownErr: () => toKnownErr22
|
|
7585
8409
|
});
|
|
7586
|
-
function
|
|
8410
|
+
function toKnownErr22(e) {
|
|
7587
8411
|
if (e instanceof XRPCError) {
|
|
7588
8412
|
}
|
|
7589
8413
|
return e;
|
|
7590
8414
|
}
|
|
7591
8415
|
|
|
7592
8416
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
7593
|
-
var
|
|
7594
|
-
__export(
|
|
7595
|
-
toKnownErr: () =>
|
|
8417
|
+
var getRecord_exports2 = {};
|
|
8418
|
+
__export(getRecord_exports2, {
|
|
8419
|
+
toKnownErr: () => toKnownErr23
|
|
7596
8420
|
});
|
|
7597
|
-
function
|
|
8421
|
+
function toKnownErr23(e) {
|
|
7598
8422
|
if (e instanceof XRPCError) {
|
|
7599
8423
|
}
|
|
7600
8424
|
return e;
|
|
@@ -7604,10 +8428,10 @@ function toKnownErr13(e) {
|
|
|
7604
8428
|
var listRecords_exports = {};
|
|
7605
8429
|
__export(listRecords_exports, {
|
|
7606
8430
|
isRecord: () => isRecord,
|
|
7607
|
-
toKnownErr: () =>
|
|
8431
|
+
toKnownErr: () => toKnownErr24,
|
|
7608
8432
|
validateRecord: () => validateRecord
|
|
7609
8433
|
});
|
|
7610
|
-
function
|
|
8434
|
+
function toKnownErr24(e) {
|
|
7611
8435
|
if (e instanceof XRPCError) {
|
|
7612
8436
|
}
|
|
7613
8437
|
return e;
|
|
@@ -7622,9 +8446,20 @@ function validateRecord(v) {
|
|
|
7622
8446
|
// src/client/types/com/atproto/repo/putRecord.ts
|
|
7623
8447
|
var putRecord_exports = {};
|
|
7624
8448
|
__export(putRecord_exports, {
|
|
7625
|
-
toKnownErr: () =>
|
|
8449
|
+
toKnownErr: () => toKnownErr25
|
|
7626
8450
|
});
|
|
7627
|
-
function
|
|
8451
|
+
function toKnownErr25(e) {
|
|
8452
|
+
if (e instanceof XRPCError) {
|
|
8453
|
+
}
|
|
8454
|
+
return e;
|
|
8455
|
+
}
|
|
8456
|
+
|
|
8457
|
+
// src/client/types/com/atproto/report/create.ts
|
|
8458
|
+
var create_exports2 = {};
|
|
8459
|
+
__export(create_exports2, {
|
|
8460
|
+
toKnownErr: () => toKnownErr26
|
|
8461
|
+
});
|
|
8462
|
+
function toKnownErr26(e) {
|
|
7628
8463
|
if (e instanceof XRPCError) {
|
|
7629
8464
|
}
|
|
7630
8465
|
return e;
|
|
@@ -7634,10 +8469,10 @@ function toKnownErr15(e) {
|
|
|
7634
8469
|
var getAccountsConfig_exports = {};
|
|
7635
8470
|
__export(getAccountsConfig_exports, {
|
|
7636
8471
|
isLinks: () => isLinks,
|
|
7637
|
-
toKnownErr: () =>
|
|
8472
|
+
toKnownErr: () => toKnownErr27,
|
|
7638
8473
|
validateLinks: () => validateLinks
|
|
7639
8474
|
});
|
|
7640
|
-
function
|
|
8475
|
+
function toKnownErr27(e) {
|
|
7641
8476
|
if (e instanceof XRPCError) {
|
|
7642
8477
|
}
|
|
7643
8478
|
return e;
|
|
@@ -7650,12 +8485,20 @@ function validateLinks(v) {
|
|
|
7650
8485
|
}
|
|
7651
8486
|
|
|
7652
8487
|
// src/client/types/com/atproto/session/create.ts
|
|
7653
|
-
var
|
|
7654
|
-
__export(
|
|
7655
|
-
|
|
8488
|
+
var create_exports3 = {};
|
|
8489
|
+
__export(create_exports3, {
|
|
8490
|
+
AccountTakedownError: () => AccountTakedownError,
|
|
8491
|
+
toKnownErr: () => toKnownErr28
|
|
7656
8492
|
});
|
|
7657
|
-
|
|
8493
|
+
var AccountTakedownError = class extends XRPCError {
|
|
8494
|
+
constructor(src) {
|
|
8495
|
+
super(src.status, src.error, src.message);
|
|
8496
|
+
}
|
|
8497
|
+
};
|
|
8498
|
+
function toKnownErr28(e) {
|
|
7658
8499
|
if (e instanceof XRPCError) {
|
|
8500
|
+
if (e.error === "AccountTakedown")
|
|
8501
|
+
return new AccountTakedownError(e);
|
|
7659
8502
|
}
|
|
7660
8503
|
return e;
|
|
7661
8504
|
}
|
|
@@ -7663,9 +8506,9 @@ function toKnownErr17(e) {
|
|
|
7663
8506
|
// src/client/types/com/atproto/session/delete.ts
|
|
7664
8507
|
var delete_exports2 = {};
|
|
7665
8508
|
__export(delete_exports2, {
|
|
7666
|
-
toKnownErr: () =>
|
|
8509
|
+
toKnownErr: () => toKnownErr29
|
|
7667
8510
|
});
|
|
7668
|
-
function
|
|
8511
|
+
function toKnownErr29(e) {
|
|
7669
8512
|
if (e instanceof XRPCError) {
|
|
7670
8513
|
}
|
|
7671
8514
|
return e;
|
|
@@ -7674,9 +8517,9 @@ function toKnownErr18(e) {
|
|
|
7674
8517
|
// src/client/types/com/atproto/session/get.ts
|
|
7675
8518
|
var get_exports2 = {};
|
|
7676
8519
|
__export(get_exports2, {
|
|
7677
|
-
toKnownErr: () =>
|
|
8520
|
+
toKnownErr: () => toKnownErr30
|
|
7678
8521
|
});
|
|
7679
|
-
function
|
|
8522
|
+
function toKnownErr30(e) {
|
|
7680
8523
|
if (e instanceof XRPCError) {
|
|
7681
8524
|
}
|
|
7682
8525
|
return e;
|
|
@@ -7685,70 +8528,73 @@ function toKnownErr19(e) {
|
|
|
7685
8528
|
// src/client/types/com/atproto/session/refresh.ts
|
|
7686
8529
|
var refresh_exports = {};
|
|
7687
8530
|
__export(refresh_exports, {
|
|
7688
|
-
|
|
8531
|
+
AccountTakedownError: () => AccountTakedownError2,
|
|
8532
|
+
toKnownErr: () => toKnownErr31
|
|
7689
8533
|
});
|
|
7690
|
-
|
|
8534
|
+
var AccountTakedownError2 = class extends XRPCError {
|
|
8535
|
+
constructor(src) {
|
|
8536
|
+
super(src.status, src.error, src.message);
|
|
8537
|
+
}
|
|
8538
|
+
};
|
|
8539
|
+
function toKnownErr31(e) {
|
|
7691
8540
|
if (e instanceof XRPCError) {
|
|
8541
|
+
if (e.error === "AccountTakedown")
|
|
8542
|
+
return new AccountTakedownError2(e);
|
|
7692
8543
|
}
|
|
7693
8544
|
return e;
|
|
7694
8545
|
}
|
|
7695
8546
|
|
|
7696
|
-
// src/client/types/com/atproto/sync/
|
|
7697
|
-
var
|
|
7698
|
-
__export(
|
|
7699
|
-
toKnownErr: () =>
|
|
8547
|
+
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
8548
|
+
var getCheckout_exports = {};
|
|
8549
|
+
__export(getCheckout_exports, {
|
|
8550
|
+
toKnownErr: () => toKnownErr32
|
|
7700
8551
|
});
|
|
7701
|
-
function
|
|
8552
|
+
function toKnownErr32(e) {
|
|
7702
8553
|
if (e instanceof XRPCError) {
|
|
7703
8554
|
}
|
|
7704
8555
|
return e;
|
|
7705
8556
|
}
|
|
7706
8557
|
|
|
7707
|
-
// src/client/types/com/atproto/sync/
|
|
7708
|
-
var
|
|
7709
|
-
__export(
|
|
7710
|
-
toKnownErr: () =>
|
|
8558
|
+
// src/client/types/com/atproto/sync/getCommitPath.ts
|
|
8559
|
+
var getCommitPath_exports = {};
|
|
8560
|
+
__export(getCommitPath_exports, {
|
|
8561
|
+
toKnownErr: () => toKnownErr33
|
|
7711
8562
|
});
|
|
7712
|
-
function
|
|
8563
|
+
function toKnownErr33(e) {
|
|
7713
8564
|
if (e instanceof XRPCError) {
|
|
7714
8565
|
}
|
|
7715
8566
|
return e;
|
|
7716
8567
|
}
|
|
7717
8568
|
|
|
7718
|
-
// src/client/types/com/atproto/sync/
|
|
7719
|
-
var
|
|
7720
|
-
__export(
|
|
7721
|
-
toKnownErr: () =>
|
|
8569
|
+
// src/client/types/com/atproto/sync/getHead.ts
|
|
8570
|
+
var getHead_exports = {};
|
|
8571
|
+
__export(getHead_exports, {
|
|
8572
|
+
toKnownErr: () => toKnownErr34
|
|
7722
8573
|
});
|
|
7723
|
-
function
|
|
8574
|
+
function toKnownErr34(e) {
|
|
7724
8575
|
if (e instanceof XRPCError) {
|
|
7725
8576
|
}
|
|
7726
8577
|
return e;
|
|
7727
8578
|
}
|
|
7728
8579
|
|
|
7729
|
-
// src/client/types/
|
|
7730
|
-
var
|
|
7731
|
-
__export(
|
|
7732
|
-
|
|
7733
|
-
InvalidHandleError: () => InvalidHandleError2,
|
|
7734
|
-
toKnownErr: () => toKnownErr24
|
|
8580
|
+
// src/client/types/com/atproto/sync/getRecord.ts
|
|
8581
|
+
var getRecord_exports3 = {};
|
|
8582
|
+
__export(getRecord_exports3, {
|
|
8583
|
+
toKnownErr: () => toKnownErr35
|
|
7735
8584
|
});
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
super(src.status, src.error, src.message);
|
|
7739
|
-
}
|
|
7740
|
-
};
|
|
7741
|
-
var HandleNotAvailableError2 = class extends XRPCError {
|
|
7742
|
-
constructor(src) {
|
|
7743
|
-
super(src.status, src.error, src.message);
|
|
8585
|
+
function toKnownErr35(e) {
|
|
8586
|
+
if (e instanceof XRPCError) {
|
|
7744
8587
|
}
|
|
7745
|
-
|
|
7746
|
-
|
|
8588
|
+
return e;
|
|
8589
|
+
}
|
|
8590
|
+
|
|
8591
|
+
// src/client/types/com/atproto/sync/getRepo.ts
|
|
8592
|
+
var getRepo_exports2 = {};
|
|
8593
|
+
__export(getRepo_exports2, {
|
|
8594
|
+
toKnownErr: () => toKnownErr36
|
|
8595
|
+
});
|
|
8596
|
+
function toKnownErr36(e) {
|
|
7747
8597
|
if (e instanceof XRPCError) {
|
|
7748
|
-
if (e.error === "InvalidHandle")
|
|
7749
|
-
return new InvalidHandleError2(e);
|
|
7750
|
-
if (e.error === "HandleNotAvailable")
|
|
7751
|
-
return new HandleNotAvailableError2(e);
|
|
7752
8598
|
}
|
|
7753
8599
|
return e;
|
|
7754
8600
|
}
|
|
@@ -7757,10 +8603,10 @@ function toKnownErr24(e) {
|
|
|
7757
8603
|
var getProfile_exports = {};
|
|
7758
8604
|
__export(getProfile_exports, {
|
|
7759
8605
|
isMyState: () => isMyState,
|
|
7760
|
-
toKnownErr: () =>
|
|
8606
|
+
toKnownErr: () => toKnownErr37,
|
|
7761
8607
|
validateMyState: () => validateMyState
|
|
7762
8608
|
});
|
|
7763
|
-
function
|
|
8609
|
+
function toKnownErr37(e) {
|
|
7764
8610
|
if (e instanceof XRPCError) {
|
|
7765
8611
|
}
|
|
7766
8612
|
return e;
|
|
@@ -7777,11 +8623,11 @@ var getSuggestions_exports = {};
|
|
|
7777
8623
|
__export(getSuggestions_exports, {
|
|
7778
8624
|
isActor: () => isActor,
|
|
7779
8625
|
isMyState: () => isMyState2,
|
|
7780
|
-
toKnownErr: () =>
|
|
8626
|
+
toKnownErr: () => toKnownErr38,
|
|
7781
8627
|
validateActor: () => validateActor,
|
|
7782
8628
|
validateMyState: () => validateMyState2
|
|
7783
8629
|
});
|
|
7784
|
-
function
|
|
8630
|
+
function toKnownErr38(e) {
|
|
7785
8631
|
if (e instanceof XRPCError) {
|
|
7786
8632
|
}
|
|
7787
8633
|
return e;
|
|
@@ -7803,10 +8649,10 @@ function validateMyState2(v) {
|
|
|
7803
8649
|
var search_exports = {};
|
|
7804
8650
|
__export(search_exports, {
|
|
7805
8651
|
isUser: () => isUser,
|
|
7806
|
-
toKnownErr: () =>
|
|
8652
|
+
toKnownErr: () => toKnownErr39,
|
|
7807
8653
|
validateUser: () => validateUser
|
|
7808
8654
|
});
|
|
7809
|
-
function
|
|
8655
|
+
function toKnownErr39(e) {
|
|
7810
8656
|
if (e instanceof XRPCError) {
|
|
7811
8657
|
}
|
|
7812
8658
|
return e;
|
|
@@ -7822,10 +8668,10 @@ function validateUser(v) {
|
|
|
7822
8668
|
var searchTypeahead_exports = {};
|
|
7823
8669
|
__export(searchTypeahead_exports, {
|
|
7824
8670
|
isUser: () => isUser2,
|
|
7825
|
-
toKnownErr: () =>
|
|
8671
|
+
toKnownErr: () => toKnownErr40,
|
|
7826
8672
|
validateUser: () => validateUser2
|
|
7827
8673
|
});
|
|
7828
|
-
function
|
|
8674
|
+
function toKnownErr40(e) {
|
|
7829
8675
|
if (e instanceof XRPCError) {
|
|
7830
8676
|
}
|
|
7831
8677
|
return e;
|
|
@@ -7844,7 +8690,7 @@ __export(updateProfile_exports, {
|
|
|
7844
8690
|
InvalidBlobError: () => InvalidBlobError,
|
|
7845
8691
|
InvalidImageDimensionsError: () => InvalidImageDimensionsError,
|
|
7846
8692
|
InvalidMimeTypeError: () => InvalidMimeTypeError,
|
|
7847
|
-
toKnownErr: () =>
|
|
8693
|
+
toKnownErr: () => toKnownErr41
|
|
7848
8694
|
});
|
|
7849
8695
|
var InvalidBlobError = class extends XRPCError {
|
|
7850
8696
|
constructor(src) {
|
|
@@ -7866,7 +8712,7 @@ var InvalidImageDimensionsError = class extends XRPCError {
|
|
|
7866
8712
|
super(src.status, src.error, src.message);
|
|
7867
8713
|
}
|
|
7868
8714
|
};
|
|
7869
|
-
function
|
|
8715
|
+
function toKnownErr41(e) {
|
|
7870
8716
|
if (e instanceof XRPCError) {
|
|
7871
8717
|
if (e.error === "InvalidBlob")
|
|
7872
8718
|
return new InvalidBlobError(e);
|
|
@@ -7883,9 +8729,9 @@ function toKnownErr29(e) {
|
|
|
7883
8729
|
// src/client/types/app/bsky/feed/getAuthorFeed.ts
|
|
7884
8730
|
var getAuthorFeed_exports = {};
|
|
7885
8731
|
__export(getAuthorFeed_exports, {
|
|
7886
|
-
toKnownErr: () =>
|
|
8732
|
+
toKnownErr: () => toKnownErr42
|
|
7887
8733
|
});
|
|
7888
|
-
function
|
|
8734
|
+
function toKnownErr42(e) {
|
|
7889
8735
|
if (e instanceof XRPCError) {
|
|
7890
8736
|
}
|
|
7891
8737
|
return e;
|
|
@@ -7897,7 +8743,7 @@ __export(getPostThread_exports, {
|
|
|
7897
8743
|
NotFoundError: () => NotFoundError,
|
|
7898
8744
|
isNotFoundPost: () => isNotFoundPost,
|
|
7899
8745
|
isThreadViewPost: () => isThreadViewPost,
|
|
7900
|
-
toKnownErr: () =>
|
|
8746
|
+
toKnownErr: () => toKnownErr43,
|
|
7901
8747
|
validateNotFoundPost: () => validateNotFoundPost,
|
|
7902
8748
|
validateThreadViewPost: () => validateThreadViewPost
|
|
7903
8749
|
});
|
|
@@ -7906,7 +8752,7 @@ var NotFoundError = class extends XRPCError {
|
|
|
7906
8752
|
super(src.status, src.error, src.message);
|
|
7907
8753
|
}
|
|
7908
8754
|
};
|
|
7909
|
-
function
|
|
8755
|
+
function toKnownErr43(e) {
|
|
7910
8756
|
if (e instanceof XRPCError) {
|
|
7911
8757
|
if (e.error === "NotFound")
|
|
7912
8758
|
return new NotFoundError(e);
|
|
@@ -7930,10 +8776,10 @@ function validateNotFoundPost(v) {
|
|
|
7930
8776
|
var getRepostedBy_exports = {};
|
|
7931
8777
|
__export(getRepostedBy_exports, {
|
|
7932
8778
|
isRepostedBy: () => isRepostedBy,
|
|
7933
|
-
toKnownErr: () =>
|
|
8779
|
+
toKnownErr: () => toKnownErr44,
|
|
7934
8780
|
validateRepostedBy: () => validateRepostedBy
|
|
7935
8781
|
});
|
|
7936
|
-
function
|
|
8782
|
+
function toKnownErr44(e) {
|
|
7937
8783
|
if (e instanceof XRPCError) {
|
|
7938
8784
|
}
|
|
7939
8785
|
return e;
|
|
@@ -7948,9 +8794,9 @@ function validateRepostedBy(v) {
|
|
|
7948
8794
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
7949
8795
|
var getTimeline_exports = {};
|
|
7950
8796
|
__export(getTimeline_exports, {
|
|
7951
|
-
toKnownErr: () =>
|
|
8797
|
+
toKnownErr: () => toKnownErr45
|
|
7952
8798
|
});
|
|
7953
|
-
function
|
|
8799
|
+
function toKnownErr45(e) {
|
|
7954
8800
|
if (e instanceof XRPCError) {
|
|
7955
8801
|
}
|
|
7956
8802
|
return e;
|
|
@@ -7960,10 +8806,10 @@ function toKnownErr33(e) {
|
|
|
7960
8806
|
var getVotes_exports = {};
|
|
7961
8807
|
__export(getVotes_exports, {
|
|
7962
8808
|
isVote: () => isVote,
|
|
7963
|
-
toKnownErr: () =>
|
|
8809
|
+
toKnownErr: () => toKnownErr46,
|
|
7964
8810
|
validateVote: () => validateVote
|
|
7965
8811
|
});
|
|
7966
|
-
function
|
|
8812
|
+
function toKnownErr46(e) {
|
|
7967
8813
|
if (e instanceof XRPCError) {
|
|
7968
8814
|
}
|
|
7969
8815
|
return e;
|
|
@@ -7978,49 +8824,22 @@ function validateVote(v) {
|
|
|
7978
8824
|
// src/client/types/app/bsky/feed/setVote.ts
|
|
7979
8825
|
var setVote_exports = {};
|
|
7980
8826
|
__export(setVote_exports, {
|
|
7981
|
-
toKnownErr: () =>
|
|
7982
|
-
});
|
|
7983
|
-
function toKnownErr35(e) {
|
|
7984
|
-
if (e instanceof XRPCError) {
|
|
7985
|
-
}
|
|
7986
|
-
return e;
|
|
7987
|
-
}
|
|
7988
|
-
|
|
7989
|
-
// src/client/types/app/bsky/graph/getAssertions.ts
|
|
7990
|
-
var getAssertions_exports = {};
|
|
7991
|
-
__export(getAssertions_exports, {
|
|
7992
|
-
isAssertion: () => isAssertion,
|
|
7993
|
-
isConfirmation: () => isConfirmation,
|
|
7994
|
-
toKnownErr: () => toKnownErr36,
|
|
7995
|
-
validateAssertion: () => validateAssertion,
|
|
7996
|
-
validateConfirmation: () => validateConfirmation
|
|
8827
|
+
toKnownErr: () => toKnownErr47
|
|
7997
8828
|
});
|
|
7998
|
-
function
|
|
8829
|
+
function toKnownErr47(e) {
|
|
7999
8830
|
if (e instanceof XRPCError) {
|
|
8000
8831
|
}
|
|
8001
8832
|
return e;
|
|
8002
8833
|
}
|
|
8003
|
-
function isAssertion(v) {
|
|
8004
|
-
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.getAssertions#assertion";
|
|
8005
|
-
}
|
|
8006
|
-
function validateAssertion(v) {
|
|
8007
|
-
return lexicons.validate("app.bsky.graph.getAssertions#assertion", v);
|
|
8008
|
-
}
|
|
8009
|
-
function isConfirmation(v) {
|
|
8010
|
-
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.getAssertions#confirmation";
|
|
8011
|
-
}
|
|
8012
|
-
function validateConfirmation(v) {
|
|
8013
|
-
return lexicons.validate("app.bsky.graph.getAssertions#confirmation", v);
|
|
8014
|
-
}
|
|
8015
8834
|
|
|
8016
8835
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
8017
8836
|
var getFollowers_exports = {};
|
|
8018
8837
|
__export(getFollowers_exports, {
|
|
8019
8838
|
isFollower: () => isFollower,
|
|
8020
|
-
toKnownErr: () =>
|
|
8839
|
+
toKnownErr: () => toKnownErr48,
|
|
8021
8840
|
validateFollower: () => validateFollower
|
|
8022
8841
|
});
|
|
8023
|
-
function
|
|
8842
|
+
function toKnownErr48(e) {
|
|
8024
8843
|
if (e instanceof XRPCError) {
|
|
8025
8844
|
}
|
|
8026
8845
|
return e;
|
|
@@ -8036,10 +8855,10 @@ function validateFollower(v) {
|
|
|
8036
8855
|
var getFollows_exports = {};
|
|
8037
8856
|
__export(getFollows_exports, {
|
|
8038
8857
|
isFollow: () => isFollow,
|
|
8039
|
-
toKnownErr: () =>
|
|
8858
|
+
toKnownErr: () => toKnownErr49,
|
|
8040
8859
|
validateFollow: () => validateFollow
|
|
8041
8860
|
});
|
|
8042
|
-
function
|
|
8861
|
+
function toKnownErr49(e) {
|
|
8043
8862
|
if (e instanceof XRPCError) {
|
|
8044
8863
|
}
|
|
8045
8864
|
return e;
|
|
@@ -8051,52 +8870,14 @@ function validateFollow(v) {
|
|
|
8051
8870
|
return lexicons.validate("app.bsky.graph.getFollows#follow", v);
|
|
8052
8871
|
}
|
|
8053
8872
|
|
|
8054
|
-
// src/client/types/app/bsky/graph/getMembers.ts
|
|
8055
|
-
var getMembers_exports = {};
|
|
8056
|
-
__export(getMembers_exports, {
|
|
8057
|
-
isMember: () => isMember,
|
|
8058
|
-
toKnownErr: () => toKnownErr39,
|
|
8059
|
-
validateMember: () => validateMember
|
|
8060
|
-
});
|
|
8061
|
-
function toKnownErr39(e) {
|
|
8062
|
-
if (e instanceof XRPCError) {
|
|
8063
|
-
}
|
|
8064
|
-
return e;
|
|
8065
|
-
}
|
|
8066
|
-
function isMember(v) {
|
|
8067
|
-
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.getMembers#member";
|
|
8068
|
-
}
|
|
8069
|
-
function validateMember(v) {
|
|
8070
|
-
return lexicons.validate("app.bsky.graph.getMembers#member", v);
|
|
8071
|
-
}
|
|
8072
|
-
|
|
8073
|
-
// src/client/types/app/bsky/graph/getMemberships.ts
|
|
8074
|
-
var getMemberships_exports = {};
|
|
8075
|
-
__export(getMemberships_exports, {
|
|
8076
|
-
isMembership: () => isMembership,
|
|
8077
|
-
toKnownErr: () => toKnownErr40,
|
|
8078
|
-
validateMembership: () => validateMembership
|
|
8079
|
-
});
|
|
8080
|
-
function toKnownErr40(e) {
|
|
8081
|
-
if (e instanceof XRPCError) {
|
|
8082
|
-
}
|
|
8083
|
-
return e;
|
|
8084
|
-
}
|
|
8085
|
-
function isMembership(v) {
|
|
8086
|
-
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.getMemberships#membership";
|
|
8087
|
-
}
|
|
8088
|
-
function validateMembership(v) {
|
|
8089
|
-
return lexicons.validate("app.bsky.graph.getMemberships#membership", v);
|
|
8090
|
-
}
|
|
8091
|
-
|
|
8092
8873
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
8093
8874
|
var getMutes_exports = {};
|
|
8094
8875
|
__export(getMutes_exports, {
|
|
8095
8876
|
isMute: () => isMute,
|
|
8096
|
-
toKnownErr: () =>
|
|
8877
|
+
toKnownErr: () => toKnownErr50,
|
|
8097
8878
|
validateMute: () => validateMute
|
|
8098
8879
|
});
|
|
8099
|
-
function
|
|
8880
|
+
function toKnownErr50(e) {
|
|
8100
8881
|
if (e instanceof XRPCError) {
|
|
8101
8882
|
}
|
|
8102
8883
|
return e;
|
|
@@ -8111,9 +8892,9 @@ function validateMute(v) {
|
|
|
8111
8892
|
// src/client/types/app/bsky/graph/mute.ts
|
|
8112
8893
|
var mute_exports = {};
|
|
8113
8894
|
__export(mute_exports, {
|
|
8114
|
-
toKnownErr: () =>
|
|
8895
|
+
toKnownErr: () => toKnownErr51
|
|
8115
8896
|
});
|
|
8116
|
-
function
|
|
8897
|
+
function toKnownErr51(e) {
|
|
8117
8898
|
if (e instanceof XRPCError) {
|
|
8118
8899
|
}
|
|
8119
8900
|
return e;
|
|
@@ -8122,9 +8903,9 @@ function toKnownErr42(e) {
|
|
|
8122
8903
|
// src/client/types/app/bsky/graph/unmute.ts
|
|
8123
8904
|
var unmute_exports = {};
|
|
8124
8905
|
__export(unmute_exports, {
|
|
8125
|
-
toKnownErr: () =>
|
|
8906
|
+
toKnownErr: () => toKnownErr52
|
|
8126
8907
|
});
|
|
8127
|
-
function
|
|
8908
|
+
function toKnownErr52(e) {
|
|
8128
8909
|
if (e instanceof XRPCError) {
|
|
8129
8910
|
}
|
|
8130
8911
|
return e;
|
|
@@ -8133,9 +8914,9 @@ function toKnownErr43(e) {
|
|
|
8133
8914
|
// src/client/types/app/bsky/notification/getCount.ts
|
|
8134
8915
|
var getCount_exports = {};
|
|
8135
8916
|
__export(getCount_exports, {
|
|
8136
|
-
toKnownErr: () =>
|
|
8917
|
+
toKnownErr: () => toKnownErr53
|
|
8137
8918
|
});
|
|
8138
|
-
function
|
|
8919
|
+
function toKnownErr53(e) {
|
|
8139
8920
|
if (e instanceof XRPCError) {
|
|
8140
8921
|
}
|
|
8141
8922
|
return e;
|
|
@@ -8145,10 +8926,10 @@ function toKnownErr44(e) {
|
|
|
8145
8926
|
var list_exports = {};
|
|
8146
8927
|
__export(list_exports, {
|
|
8147
8928
|
isNotification: () => isNotification,
|
|
8148
|
-
toKnownErr: () =>
|
|
8929
|
+
toKnownErr: () => toKnownErr54,
|
|
8149
8930
|
validateNotification: () => validateNotification
|
|
8150
8931
|
});
|
|
8151
|
-
function
|
|
8932
|
+
function toKnownErr54(e) {
|
|
8152
8933
|
if (e instanceof XRPCError) {
|
|
8153
8934
|
}
|
|
8154
8935
|
return e;
|
|
@@ -8160,57 +8941,259 @@ function validateNotification(v) {
|
|
|
8160
8941
|
return lexicons.validate("app.bsky.notification.list#notification", v);
|
|
8161
8942
|
}
|
|
8162
8943
|
|
|
8163
|
-
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
8164
|
-
var updateSeen_exports = {};
|
|
8165
|
-
__export(updateSeen_exports, {
|
|
8166
|
-
toKnownErr: () =>
|
|
8944
|
+
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
8945
|
+
var updateSeen_exports = {};
|
|
8946
|
+
__export(updateSeen_exports, {
|
|
8947
|
+
toKnownErr: () => toKnownErr55
|
|
8948
|
+
});
|
|
8949
|
+
function toKnownErr55(e) {
|
|
8950
|
+
if (e instanceof XRPCError) {
|
|
8951
|
+
}
|
|
8952
|
+
return e;
|
|
8953
|
+
}
|
|
8954
|
+
|
|
8955
|
+
// src/client/types/com/atproto/admin/moderationAction.ts
|
|
8956
|
+
var moderationAction_exports = {};
|
|
8957
|
+
__export(moderationAction_exports, {
|
|
8958
|
+
ACKNOWLEDGE: () => ACKNOWLEDGE,
|
|
8959
|
+
FLAG: () => FLAG,
|
|
8960
|
+
TAKEDOWN: () => TAKEDOWN,
|
|
8961
|
+
isReversal: () => isReversal,
|
|
8962
|
+
isView: () => isView,
|
|
8963
|
+
isViewDetail: () => isViewDetail,
|
|
8964
|
+
validateReversal: () => validateReversal,
|
|
8965
|
+
validateView: () => validateView,
|
|
8966
|
+
validateViewDetail: () => validateViewDetail
|
|
8967
|
+
});
|
|
8968
|
+
function isView(v) {
|
|
8969
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.moderationAction#view";
|
|
8970
|
+
}
|
|
8971
|
+
function validateView(v) {
|
|
8972
|
+
return lexicons.validate("com.atproto.admin.moderationAction#view", v);
|
|
8973
|
+
}
|
|
8974
|
+
function isViewDetail(v) {
|
|
8975
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.moderationAction#viewDetail";
|
|
8976
|
+
}
|
|
8977
|
+
function validateViewDetail(v) {
|
|
8978
|
+
return lexicons.validate("com.atproto.admin.moderationAction#viewDetail", v);
|
|
8979
|
+
}
|
|
8980
|
+
function isReversal(v) {
|
|
8981
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.moderationAction#reversal";
|
|
8982
|
+
}
|
|
8983
|
+
function validateReversal(v) {
|
|
8984
|
+
return lexicons.validate("com.atproto.admin.moderationAction#reversal", v);
|
|
8985
|
+
}
|
|
8986
|
+
var TAKEDOWN = "com.atproto.admin.moderationAction#takedown";
|
|
8987
|
+
var FLAG = "com.atproto.admin.moderationAction#flag";
|
|
8988
|
+
var ACKNOWLEDGE = "com.atproto.admin.moderationAction#acknowledge";
|
|
8989
|
+
|
|
8990
|
+
// src/client/types/com/atproto/admin/moderationReport.ts
|
|
8991
|
+
var moderationReport_exports = {};
|
|
8992
|
+
__export(moderationReport_exports, {
|
|
8993
|
+
isView: () => isView2,
|
|
8994
|
+
isViewDetail: () => isViewDetail2,
|
|
8995
|
+
validateView: () => validateView2,
|
|
8996
|
+
validateViewDetail: () => validateViewDetail2
|
|
8997
|
+
});
|
|
8998
|
+
function isView2(v) {
|
|
8999
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.moderationReport#view";
|
|
9000
|
+
}
|
|
9001
|
+
function validateView2(v) {
|
|
9002
|
+
return lexicons.validate("com.atproto.admin.moderationReport#view", v);
|
|
9003
|
+
}
|
|
9004
|
+
function isViewDetail2(v) {
|
|
9005
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.moderationReport#viewDetail";
|
|
9006
|
+
}
|
|
9007
|
+
function validateViewDetail2(v) {
|
|
9008
|
+
return lexicons.validate("com.atproto.admin.moderationReport#viewDetail", v);
|
|
9009
|
+
}
|
|
9010
|
+
|
|
9011
|
+
// src/client/types/com/atproto/admin/record.ts
|
|
9012
|
+
var record_exports = {};
|
|
9013
|
+
__export(record_exports, {
|
|
9014
|
+
isModeration: () => isModeration,
|
|
9015
|
+
isModerationDetail: () => isModerationDetail,
|
|
9016
|
+
isView: () => isView3,
|
|
9017
|
+
isViewDetail: () => isViewDetail3,
|
|
9018
|
+
validateModeration: () => validateModeration,
|
|
9019
|
+
validateModerationDetail: () => validateModerationDetail,
|
|
9020
|
+
validateView: () => validateView3,
|
|
9021
|
+
validateViewDetail: () => validateViewDetail3
|
|
9022
|
+
});
|
|
9023
|
+
function isView3(v) {
|
|
9024
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.record#view";
|
|
9025
|
+
}
|
|
9026
|
+
function validateView3(v) {
|
|
9027
|
+
return lexicons.validate("com.atproto.admin.record#view", v);
|
|
9028
|
+
}
|
|
9029
|
+
function isViewDetail3(v) {
|
|
9030
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.record#viewDetail";
|
|
9031
|
+
}
|
|
9032
|
+
function validateViewDetail3(v) {
|
|
9033
|
+
return lexicons.validate("com.atproto.admin.record#viewDetail", v);
|
|
9034
|
+
}
|
|
9035
|
+
function isModeration(v) {
|
|
9036
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.record#moderation";
|
|
9037
|
+
}
|
|
9038
|
+
function validateModeration(v) {
|
|
9039
|
+
return lexicons.validate("com.atproto.admin.record#moderation", v);
|
|
9040
|
+
}
|
|
9041
|
+
function isModerationDetail(v) {
|
|
9042
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.record#moderationDetail";
|
|
9043
|
+
}
|
|
9044
|
+
function validateModerationDetail(v) {
|
|
9045
|
+
return lexicons.validate("com.atproto.admin.record#moderationDetail", v);
|
|
9046
|
+
}
|
|
9047
|
+
|
|
9048
|
+
// src/client/types/com/atproto/admin/repo.ts
|
|
9049
|
+
var repo_exports = {};
|
|
9050
|
+
__export(repo_exports, {
|
|
9051
|
+
isAccount: () => isAccount,
|
|
9052
|
+
isModeration: () => isModeration2,
|
|
9053
|
+
isModerationDetail: () => isModerationDetail2,
|
|
9054
|
+
isView: () => isView4,
|
|
9055
|
+
isViewDetail: () => isViewDetail4,
|
|
9056
|
+
validateAccount: () => validateAccount,
|
|
9057
|
+
validateModeration: () => validateModeration2,
|
|
9058
|
+
validateModerationDetail: () => validateModerationDetail2,
|
|
9059
|
+
validateView: () => validateView4,
|
|
9060
|
+
validateViewDetail: () => validateViewDetail4
|
|
9061
|
+
});
|
|
9062
|
+
function isView4(v) {
|
|
9063
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.repo#view";
|
|
9064
|
+
}
|
|
9065
|
+
function validateView4(v) {
|
|
9066
|
+
return lexicons.validate("com.atproto.admin.repo#view", v);
|
|
9067
|
+
}
|
|
9068
|
+
function isViewDetail4(v) {
|
|
9069
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.repo#viewDetail";
|
|
9070
|
+
}
|
|
9071
|
+
function validateViewDetail4(v) {
|
|
9072
|
+
return lexicons.validate("com.atproto.admin.repo#viewDetail", v);
|
|
9073
|
+
}
|
|
9074
|
+
function isAccount(v) {
|
|
9075
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.repo#account";
|
|
9076
|
+
}
|
|
9077
|
+
function validateAccount(v) {
|
|
9078
|
+
return lexicons.validate("com.atproto.admin.repo#account", v);
|
|
9079
|
+
}
|
|
9080
|
+
function isModeration2(v) {
|
|
9081
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.repo#moderation";
|
|
9082
|
+
}
|
|
9083
|
+
function validateModeration2(v) {
|
|
9084
|
+
return lexicons.validate("com.atproto.admin.repo#moderation", v);
|
|
9085
|
+
}
|
|
9086
|
+
function isModerationDetail2(v) {
|
|
9087
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.repo#moderationDetail";
|
|
9088
|
+
}
|
|
9089
|
+
function validateModerationDetail2(v) {
|
|
9090
|
+
return lexicons.validate("com.atproto.admin.repo#moderationDetail", v);
|
|
9091
|
+
}
|
|
9092
|
+
|
|
9093
|
+
// src/client/types/com/atproto/repo/recordRef.ts
|
|
9094
|
+
var recordRef_exports = {};
|
|
9095
|
+
__export(recordRef_exports, {
|
|
9096
|
+
isMain: () => isMain,
|
|
9097
|
+
validateMain: () => validateMain
|
|
9098
|
+
});
|
|
9099
|
+
function isMain(v) {
|
|
9100
|
+
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "com.atproto.repo.recordRef#main" || v.$type === "com.atproto.repo.recordRef");
|
|
9101
|
+
}
|
|
9102
|
+
function validateMain(v) {
|
|
9103
|
+
return lexicons.validate("com.atproto.repo.recordRef#main", v);
|
|
9104
|
+
}
|
|
9105
|
+
|
|
9106
|
+
// src/client/types/com/atproto/repo/repoRef.ts
|
|
9107
|
+
var repoRef_exports = {};
|
|
9108
|
+
__export(repoRef_exports, {
|
|
9109
|
+
isMain: () => isMain2,
|
|
9110
|
+
validateMain: () => validateMain2
|
|
8167
9111
|
});
|
|
8168
|
-
function
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
9112
|
+
function isMain2(v) {
|
|
9113
|
+
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "com.atproto.repo.repoRef#main" || v.$type === "com.atproto.repo.repoRef");
|
|
9114
|
+
}
|
|
9115
|
+
function validateMain2(v) {
|
|
9116
|
+
return lexicons.validate("com.atproto.repo.repoRef#main", v);
|
|
8172
9117
|
}
|
|
8173
9118
|
|
|
8174
9119
|
// src/client/types/com/atproto/repo/strongRef.ts
|
|
8175
9120
|
var strongRef_exports = {};
|
|
8176
9121
|
__export(strongRef_exports, {
|
|
8177
|
-
isMain: () =>
|
|
8178
|
-
validateMain: () =>
|
|
9122
|
+
isMain: () => isMain3,
|
|
9123
|
+
validateMain: () => validateMain3
|
|
8179
9124
|
});
|
|
8180
|
-
function
|
|
9125
|
+
function isMain3(v) {
|
|
8181
9126
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "com.atproto.repo.strongRef#main" || v.$type === "com.atproto.repo.strongRef");
|
|
8182
9127
|
}
|
|
8183
|
-
function
|
|
9128
|
+
function validateMain3(v) {
|
|
8184
9129
|
return lexicons.validate("com.atproto.repo.strongRef#main", v);
|
|
8185
9130
|
}
|
|
8186
9131
|
|
|
9132
|
+
// src/client/types/com/atproto/report/reasonType.ts
|
|
9133
|
+
var reasonType_exports = {};
|
|
9134
|
+
__export(reasonType_exports, {
|
|
9135
|
+
OTHER: () => OTHER,
|
|
9136
|
+
SPAM: () => SPAM
|
|
9137
|
+
});
|
|
9138
|
+
var SPAM = "com.atproto.report.reasonType#spam";
|
|
9139
|
+
var OTHER = "com.atproto.report.reasonType#other";
|
|
9140
|
+
|
|
9141
|
+
// src/client/types/com/atproto/report/subject.ts
|
|
9142
|
+
var subject_exports = {};
|
|
9143
|
+
__export(subject_exports, {
|
|
9144
|
+
isRecord: () => isRecord2,
|
|
9145
|
+
isRecordRef: () => isRecordRef,
|
|
9146
|
+
isRepo: () => isRepo,
|
|
9147
|
+
validateRecord: () => validateRecord2,
|
|
9148
|
+
validateRecordRef: () => validateRecordRef,
|
|
9149
|
+
validateRepo: () => validateRepo
|
|
9150
|
+
});
|
|
9151
|
+
function isRepo(v) {
|
|
9152
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.report.subject#repo";
|
|
9153
|
+
}
|
|
9154
|
+
function validateRepo(v) {
|
|
9155
|
+
return lexicons.validate("com.atproto.report.subject#repo", v);
|
|
9156
|
+
}
|
|
9157
|
+
function isRecord2(v) {
|
|
9158
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.report.subject#record";
|
|
9159
|
+
}
|
|
9160
|
+
function validateRecord2(v) {
|
|
9161
|
+
return lexicons.validate("com.atproto.report.subject#record", v);
|
|
9162
|
+
}
|
|
9163
|
+
function isRecordRef(v) {
|
|
9164
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.report.subject#recordRef";
|
|
9165
|
+
}
|
|
9166
|
+
function validateRecordRef(v) {
|
|
9167
|
+
return lexicons.validate("com.atproto.report.subject#recordRef", v);
|
|
9168
|
+
}
|
|
9169
|
+
|
|
8187
9170
|
// src/client/types/app/bsky/actor/profile.ts
|
|
8188
9171
|
var profile_exports = {};
|
|
8189
9172
|
__export(profile_exports, {
|
|
8190
|
-
isRecord: () =>
|
|
8191
|
-
validateRecord: () =>
|
|
9173
|
+
isRecord: () => isRecord3,
|
|
9174
|
+
validateRecord: () => validateRecord3
|
|
8192
9175
|
});
|
|
8193
|
-
function
|
|
9176
|
+
function isRecord3(v) {
|
|
8194
9177
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.actor.profile#main" || v.$type === "app.bsky.actor.profile");
|
|
8195
9178
|
}
|
|
8196
|
-
function
|
|
9179
|
+
function validateRecord3(v) {
|
|
8197
9180
|
return lexicons.validate("app.bsky.actor.profile#main", v);
|
|
8198
9181
|
}
|
|
8199
9182
|
|
|
8200
9183
|
// src/client/types/app/bsky/actor/ref.ts
|
|
8201
9184
|
var ref_exports = {};
|
|
8202
9185
|
__export(ref_exports, {
|
|
8203
|
-
isMain: () =>
|
|
9186
|
+
isMain: () => isMain4,
|
|
8204
9187
|
isViewerState: () => isViewerState,
|
|
8205
9188
|
isWithInfo: () => isWithInfo,
|
|
8206
|
-
validateMain: () =>
|
|
9189
|
+
validateMain: () => validateMain4,
|
|
8207
9190
|
validateViewerState: () => validateViewerState,
|
|
8208
9191
|
validateWithInfo: () => validateWithInfo
|
|
8209
9192
|
});
|
|
8210
|
-
function
|
|
9193
|
+
function isMain4(v) {
|
|
8211
9194
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.actor.ref#main" || v.$type === "app.bsky.actor.ref");
|
|
8212
9195
|
}
|
|
8213
|
-
function
|
|
9196
|
+
function validateMain4(v) {
|
|
8214
9197
|
return lexicons.validate("app.bsky.actor.ref#main", v);
|
|
8215
9198
|
}
|
|
8216
9199
|
function isWithInfo(v) {
|
|
@@ -8230,18 +9213,18 @@ function validateViewerState(v) {
|
|
|
8230
9213
|
var external_exports = {};
|
|
8231
9214
|
__export(external_exports, {
|
|
8232
9215
|
isExternal: () => isExternal,
|
|
8233
|
-
isMain: () =>
|
|
9216
|
+
isMain: () => isMain5,
|
|
8234
9217
|
isPresented: () => isPresented,
|
|
8235
9218
|
isPresentedExternal: () => isPresentedExternal,
|
|
8236
9219
|
validateExternal: () => validateExternal,
|
|
8237
|
-
validateMain: () =>
|
|
9220
|
+
validateMain: () => validateMain5,
|
|
8238
9221
|
validatePresented: () => validatePresented,
|
|
8239
9222
|
validatePresentedExternal: () => validatePresentedExternal
|
|
8240
9223
|
});
|
|
8241
|
-
function
|
|
9224
|
+
function isMain5(v) {
|
|
8242
9225
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.embed.external#main" || v.$type === "app.bsky.embed.external");
|
|
8243
9226
|
}
|
|
8244
|
-
function
|
|
9227
|
+
function validateMain5(v) {
|
|
8245
9228
|
return lexicons.validate("app.bsky.embed.external#main", v);
|
|
8246
9229
|
}
|
|
8247
9230
|
function isExternal(v) {
|
|
@@ -8267,18 +9250,18 @@ function validatePresentedExternal(v) {
|
|
|
8267
9250
|
var images_exports = {};
|
|
8268
9251
|
__export(images_exports, {
|
|
8269
9252
|
isImage: () => isImage,
|
|
8270
|
-
isMain: () =>
|
|
9253
|
+
isMain: () => isMain6,
|
|
8271
9254
|
isPresented: () => isPresented2,
|
|
8272
9255
|
isPresentedImage: () => isPresentedImage,
|
|
8273
9256
|
validateImage: () => validateImage,
|
|
8274
|
-
validateMain: () =>
|
|
9257
|
+
validateMain: () => validateMain6,
|
|
8275
9258
|
validatePresented: () => validatePresented2,
|
|
8276
9259
|
validatePresentedImage: () => validatePresentedImage
|
|
8277
9260
|
});
|
|
8278
|
-
function
|
|
9261
|
+
function isMain6(v) {
|
|
8279
9262
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.embed.images#main" || v.$type === "app.bsky.embed.images");
|
|
8280
9263
|
}
|
|
8281
|
-
function
|
|
9264
|
+
function validateMain6(v) {
|
|
8282
9265
|
return lexicons.validate("app.bsky.embed.images#main", v);
|
|
8283
9266
|
}
|
|
8284
9267
|
function isImage(v) {
|
|
@@ -8303,19 +9286,17 @@ function validatePresentedImage(v) {
|
|
|
8303
9286
|
// src/client/types/app/bsky/feed/feedViewPost.ts
|
|
8304
9287
|
var feedViewPost_exports = {};
|
|
8305
9288
|
__export(feedViewPost_exports, {
|
|
8306
|
-
isMain: () =>
|
|
9289
|
+
isMain: () => isMain7,
|
|
8307
9290
|
isReasonRepost: () => isReasonRepost,
|
|
8308
|
-
isReasonTrend: () => isReasonTrend,
|
|
8309
9291
|
isReplyRef: () => isReplyRef,
|
|
8310
|
-
validateMain: () =>
|
|
9292
|
+
validateMain: () => validateMain7,
|
|
8311
9293
|
validateReasonRepost: () => validateReasonRepost,
|
|
8312
|
-
validateReasonTrend: () => validateReasonTrend,
|
|
8313
9294
|
validateReplyRef: () => validateReplyRef
|
|
8314
9295
|
});
|
|
8315
|
-
function
|
|
9296
|
+
function isMain7(v) {
|
|
8316
9297
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.feedViewPost#main" || v.$type === "app.bsky.feed.feedViewPost");
|
|
8317
9298
|
}
|
|
8318
|
-
function
|
|
9299
|
+
function validateMain7(v) {
|
|
8319
9300
|
return lexicons.validate("app.bsky.feed.feedViewPost#main", v);
|
|
8320
9301
|
}
|
|
8321
9302
|
function isReplyRef(v) {
|
|
@@ -8324,12 +9305,6 @@ function isReplyRef(v) {
|
|
|
8324
9305
|
function validateReplyRef(v) {
|
|
8325
9306
|
return lexicons.validate("app.bsky.feed.feedViewPost#replyRef", v);
|
|
8326
9307
|
}
|
|
8327
|
-
function isReasonTrend(v) {
|
|
8328
|
-
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.feedViewPost#reasonTrend";
|
|
8329
|
-
}
|
|
8330
|
-
function validateReasonTrend(v) {
|
|
8331
|
-
return lexicons.validate("app.bsky.feed.feedViewPost#reasonTrend", v);
|
|
8332
|
-
}
|
|
8333
9308
|
function isReasonRepost(v) {
|
|
8334
9309
|
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.feedViewPost#reasonRepost";
|
|
8335
9310
|
}
|
|
@@ -8341,22 +9316,22 @@ function validateReasonRepost(v) {
|
|
|
8341
9316
|
var post_exports = {};
|
|
8342
9317
|
__export(post_exports, {
|
|
8343
9318
|
isEntity: () => isEntity,
|
|
8344
|
-
isRecord: () =>
|
|
9319
|
+
isRecord: () => isRecord4,
|
|
8345
9320
|
isReplyRef: () => isReplyRef2,
|
|
8346
9321
|
isTextSlice: () => isTextSlice,
|
|
8347
|
-
isView: () =>
|
|
9322
|
+
isView: () => isView5,
|
|
8348
9323
|
isViewerState: () => isViewerState2,
|
|
8349
9324
|
validateEntity: () => validateEntity,
|
|
8350
|
-
validateRecord: () =>
|
|
9325
|
+
validateRecord: () => validateRecord4,
|
|
8351
9326
|
validateReplyRef: () => validateReplyRef2,
|
|
8352
9327
|
validateTextSlice: () => validateTextSlice,
|
|
8353
|
-
validateView: () =>
|
|
9328
|
+
validateView: () => validateView5,
|
|
8354
9329
|
validateViewerState: () => validateViewerState2
|
|
8355
9330
|
});
|
|
8356
|
-
function
|
|
9331
|
+
function isRecord4(v) {
|
|
8357
9332
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.post#main" || v.$type === "app.bsky.feed.post");
|
|
8358
9333
|
}
|
|
8359
|
-
function
|
|
9334
|
+
function validateRecord4(v) {
|
|
8360
9335
|
return lexicons.validate("app.bsky.feed.post#main", v);
|
|
8361
9336
|
}
|
|
8362
9337
|
function isReplyRef2(v) {
|
|
@@ -8377,10 +9352,10 @@ function isTextSlice(v) {
|
|
|
8377
9352
|
function validateTextSlice(v) {
|
|
8378
9353
|
return lexicons.validate("app.bsky.feed.post#textSlice", v);
|
|
8379
9354
|
}
|
|
8380
|
-
function
|
|
9355
|
+
function isView5(v) {
|
|
8381
9356
|
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.post#view";
|
|
8382
9357
|
}
|
|
8383
|
-
function
|
|
9358
|
+
function validateView5(v) {
|
|
8384
9359
|
return lexicons.validate("app.bsky.feed.post#view", v);
|
|
8385
9360
|
}
|
|
8386
9361
|
function isViewerState2(v) {
|
|
@@ -8393,27 +9368,14 @@ function validateViewerState2(v) {
|
|
|
8393
9368
|
// src/client/types/app/bsky/feed/repost.ts
|
|
8394
9369
|
var repost_exports = {};
|
|
8395
9370
|
__export(repost_exports, {
|
|
8396
|
-
isRecord: () => isRecord4,
|
|
8397
|
-
validateRecord: () => validateRecord4
|
|
8398
|
-
});
|
|
8399
|
-
function isRecord4(v) {
|
|
8400
|
-
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.repost#main" || v.$type === "app.bsky.feed.repost");
|
|
8401
|
-
}
|
|
8402
|
-
function validateRecord4(v) {
|
|
8403
|
-
return lexicons.validate("app.bsky.feed.repost#main", v);
|
|
8404
|
-
}
|
|
8405
|
-
|
|
8406
|
-
// src/client/types/app/bsky/feed/trend.ts
|
|
8407
|
-
var trend_exports = {};
|
|
8408
|
-
__export(trend_exports, {
|
|
8409
9371
|
isRecord: () => isRecord5,
|
|
8410
9372
|
validateRecord: () => validateRecord5
|
|
8411
9373
|
});
|
|
8412
9374
|
function isRecord5(v) {
|
|
8413
|
-
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.
|
|
9375
|
+
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.repost#main" || v.$type === "app.bsky.feed.repost");
|
|
8414
9376
|
}
|
|
8415
9377
|
function validateRecord5(v) {
|
|
8416
|
-
return lexicons.validate("app.bsky.feed.
|
|
9378
|
+
return lexicons.validate("app.bsky.feed.repost#main", v);
|
|
8417
9379
|
}
|
|
8418
9380
|
|
|
8419
9381
|
// src/client/types/app/bsky/feed/vote.ts
|
|
@@ -8482,30 +9444,23 @@ function validateRecord9(v) {
|
|
|
8482
9444
|
return lexicons.validate("app.bsky.graph.follow#main", v);
|
|
8483
9445
|
}
|
|
8484
9446
|
|
|
8485
|
-
// src/client/types/app/bsky/system/actorScene.ts
|
|
8486
|
-
var actorScene_exports = {};
|
|
8487
|
-
__export(actorScene_exports, {
|
|
8488
|
-
MAIN: () => MAIN3
|
|
8489
|
-
});
|
|
8490
|
-
var MAIN3 = "app.bsky.system.actorScene#main";
|
|
8491
|
-
|
|
8492
9447
|
// src/client/types/app/bsky/system/actorUser.ts
|
|
8493
9448
|
var actorUser_exports = {};
|
|
8494
9449
|
__export(actorUser_exports, {
|
|
8495
|
-
MAIN: () =>
|
|
9450
|
+
MAIN: () => MAIN3
|
|
8496
9451
|
});
|
|
8497
|
-
var
|
|
9452
|
+
var MAIN3 = "app.bsky.system.actorUser#main";
|
|
8498
9453
|
|
|
8499
9454
|
// src/client/types/app/bsky/system/declRef.ts
|
|
8500
9455
|
var declRef_exports = {};
|
|
8501
9456
|
__export(declRef_exports, {
|
|
8502
|
-
isMain: () =>
|
|
8503
|
-
validateMain: () =>
|
|
9457
|
+
isMain: () => isMain8,
|
|
9458
|
+
validateMain: () => validateMain8
|
|
8504
9459
|
});
|
|
8505
|
-
function
|
|
9460
|
+
function isMain8(v) {
|
|
8506
9461
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.system.declRef#main" || v.$type === "app.bsky.system.declRef");
|
|
8507
9462
|
}
|
|
8508
|
-
function
|
|
9463
|
+
function validateMain8(v) {
|
|
8509
9464
|
return lexicons.validate("app.bsky.system.declRef#main", v);
|
|
8510
9465
|
}
|
|
8511
9466
|
|
|
@@ -8523,12 +9478,20 @@ function validateRecord10(v) {
|
|
|
8523
9478
|
}
|
|
8524
9479
|
|
|
8525
9480
|
// src/client/index.ts
|
|
9481
|
+
var COM_ATPROTO_ADMIN = {
|
|
9482
|
+
ModerationActionTakedown: "com.atproto.admin.moderationAction#takedown",
|
|
9483
|
+
ModerationActionFlag: "com.atproto.admin.moderationAction#flag",
|
|
9484
|
+
ModerationActionAcknowledge: "com.atproto.admin.moderationAction#acknowledge"
|
|
9485
|
+
};
|
|
9486
|
+
var COM_ATPROTO_REPORT = {
|
|
9487
|
+
ReasonTypeSpam: "com.atproto.report.reasonType#spam",
|
|
9488
|
+
ReasonTypeOther: "com.atproto.report.reasonType#other"
|
|
9489
|
+
};
|
|
8526
9490
|
var APP_BSKY_GRAPH = {
|
|
8527
9491
|
AssertCreator: "app.bsky.graph.assertCreator",
|
|
8528
9492
|
AssertMember: "app.bsky.graph.assertMember"
|
|
8529
9493
|
};
|
|
8530
9494
|
var APP_BSKY_SYSTEM = {
|
|
8531
|
-
ActorScene: "app.bsky.system.actorScene",
|
|
8532
9495
|
ActorUser: "app.bsky.system.actorUser"
|
|
8533
9496
|
};
|
|
8534
9497
|
var Client2 = class {
|
|
@@ -8563,9 +9526,11 @@ var AtprotoNS = class {
|
|
|
8563
9526
|
constructor(service) {
|
|
8564
9527
|
this._service = service;
|
|
8565
9528
|
this.account = new AccountNS(service);
|
|
9529
|
+
this.admin = new AdminNS(service);
|
|
8566
9530
|
this.blob = new BlobNS(service);
|
|
8567
9531
|
this.handle = new HandleNS(service);
|
|
8568
9532
|
this.repo = new RepoNS(service);
|
|
9533
|
+
this.report = new ReportNS(service);
|
|
8569
9534
|
this.server = new ServerNS(service);
|
|
8570
9535
|
this.session = new SessionNS(service);
|
|
8571
9536
|
this.sync = new SyncNS(service);
|
|
@@ -8606,13 +9571,68 @@ var AccountNS = class {
|
|
|
8606
9571
|
});
|
|
8607
9572
|
}
|
|
8608
9573
|
};
|
|
9574
|
+
var AdminNS = class {
|
|
9575
|
+
constructor(service) {
|
|
9576
|
+
this._service = service;
|
|
9577
|
+
}
|
|
9578
|
+
getModerationAction(params2, opts) {
|
|
9579
|
+
return this._service.xrpc.call("com.atproto.admin.getModerationAction", params2, void 0, opts).catch((e) => {
|
|
9580
|
+
throw toKnownErr7(e);
|
|
9581
|
+
});
|
|
9582
|
+
}
|
|
9583
|
+
getModerationActions(params2, opts) {
|
|
9584
|
+
return this._service.xrpc.call("com.atproto.admin.getModerationActions", params2, void 0, opts).catch((e) => {
|
|
9585
|
+
throw toKnownErr8(e);
|
|
9586
|
+
});
|
|
9587
|
+
}
|
|
9588
|
+
getModerationReport(params2, opts) {
|
|
9589
|
+
return this._service.xrpc.call("com.atproto.admin.getModerationReport", params2, void 0, opts).catch((e) => {
|
|
9590
|
+
throw toKnownErr9(e);
|
|
9591
|
+
});
|
|
9592
|
+
}
|
|
9593
|
+
getModerationReports(params2, opts) {
|
|
9594
|
+
return this._service.xrpc.call("com.atproto.admin.getModerationReports", params2, void 0, opts).catch((e) => {
|
|
9595
|
+
throw toKnownErr10(e);
|
|
9596
|
+
});
|
|
9597
|
+
}
|
|
9598
|
+
getRecord(params2, opts) {
|
|
9599
|
+
return this._service.xrpc.call("com.atproto.admin.getRecord", params2, void 0, opts).catch((e) => {
|
|
9600
|
+
throw toKnownErr11(e);
|
|
9601
|
+
});
|
|
9602
|
+
}
|
|
9603
|
+
getRepo(params2, opts) {
|
|
9604
|
+
return this._service.xrpc.call("com.atproto.admin.getRepo", params2, void 0, opts).catch((e) => {
|
|
9605
|
+
throw toKnownErr12(e);
|
|
9606
|
+
});
|
|
9607
|
+
}
|
|
9608
|
+
resolveModerationReports(data, opts) {
|
|
9609
|
+
return this._service.xrpc.call("com.atproto.admin.resolveModerationReports", opts?.qp, data, opts).catch((e) => {
|
|
9610
|
+
throw toKnownErr13(e);
|
|
9611
|
+
});
|
|
9612
|
+
}
|
|
9613
|
+
reverseModerationAction(data, opts) {
|
|
9614
|
+
return this._service.xrpc.call("com.atproto.admin.reverseModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
9615
|
+
throw toKnownErr14(e);
|
|
9616
|
+
});
|
|
9617
|
+
}
|
|
9618
|
+
searchRepos(params2, opts) {
|
|
9619
|
+
return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
|
|
9620
|
+
throw toKnownErr15(e);
|
|
9621
|
+
});
|
|
9622
|
+
}
|
|
9623
|
+
takeModerationAction(data, opts) {
|
|
9624
|
+
return this._service.xrpc.call("com.atproto.admin.takeModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
9625
|
+
throw toKnownErr16(e);
|
|
9626
|
+
});
|
|
9627
|
+
}
|
|
9628
|
+
};
|
|
8609
9629
|
var BlobNS = class {
|
|
8610
9630
|
constructor(service) {
|
|
8611
9631
|
this._service = service;
|
|
8612
9632
|
}
|
|
8613
9633
|
upload(data, opts) {
|
|
8614
9634
|
return this._service.xrpc.call("com.atproto.blob.upload", opts?.qp, data, opts).catch((e) => {
|
|
8615
|
-
throw
|
|
9635
|
+
throw toKnownErr17(e);
|
|
8616
9636
|
});
|
|
8617
9637
|
}
|
|
8618
9638
|
};
|
|
@@ -8622,7 +9642,7 @@ var HandleNS = class {
|
|
|
8622
9642
|
}
|
|
8623
9643
|
resolve(params2, opts) {
|
|
8624
9644
|
return this._service.xrpc.call("com.atproto.handle.resolve", params2, void 0, opts).catch((e) => {
|
|
8625
|
-
throw
|
|
9645
|
+
throw toKnownErr18(e);
|
|
8626
9646
|
});
|
|
8627
9647
|
}
|
|
8628
9648
|
};
|
|
@@ -8632,37 +9652,47 @@ var RepoNS = class {
|
|
|
8632
9652
|
}
|
|
8633
9653
|
batchWrite(data, opts) {
|
|
8634
9654
|
return this._service.xrpc.call("com.atproto.repo.batchWrite", opts?.qp, data, opts).catch((e) => {
|
|
8635
|
-
throw
|
|
9655
|
+
throw toKnownErr19(e);
|
|
8636
9656
|
});
|
|
8637
9657
|
}
|
|
8638
9658
|
createRecord(data, opts) {
|
|
8639
9659
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
8640
|
-
throw
|
|
9660
|
+
throw toKnownErr20(e);
|
|
8641
9661
|
});
|
|
8642
9662
|
}
|
|
8643
9663
|
deleteRecord(data, opts) {
|
|
8644
9664
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
8645
|
-
throw
|
|
9665
|
+
throw toKnownErr21(e);
|
|
8646
9666
|
});
|
|
8647
9667
|
}
|
|
8648
9668
|
describe(params2, opts) {
|
|
8649
9669
|
return this._service.xrpc.call("com.atproto.repo.describe", params2, void 0, opts).catch((e) => {
|
|
8650
|
-
throw
|
|
9670
|
+
throw toKnownErr22(e);
|
|
8651
9671
|
});
|
|
8652
9672
|
}
|
|
8653
9673
|
getRecord(params2, opts) {
|
|
8654
9674
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
8655
|
-
throw
|
|
9675
|
+
throw toKnownErr23(e);
|
|
8656
9676
|
});
|
|
8657
9677
|
}
|
|
8658
9678
|
listRecords(params2, opts) {
|
|
8659
9679
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
8660
|
-
throw
|
|
9680
|
+
throw toKnownErr24(e);
|
|
8661
9681
|
});
|
|
8662
9682
|
}
|
|
8663
9683
|
putRecord(data, opts) {
|
|
8664
9684
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
8665
|
-
throw
|
|
9685
|
+
throw toKnownErr25(e);
|
|
9686
|
+
});
|
|
9687
|
+
}
|
|
9688
|
+
};
|
|
9689
|
+
var ReportNS = class {
|
|
9690
|
+
constructor(service) {
|
|
9691
|
+
this._service = service;
|
|
9692
|
+
}
|
|
9693
|
+
create(data, opts) {
|
|
9694
|
+
return this._service.xrpc.call("com.atproto.report.create", opts?.qp, data, opts).catch((e) => {
|
|
9695
|
+
throw toKnownErr26(e);
|
|
8666
9696
|
});
|
|
8667
9697
|
}
|
|
8668
9698
|
};
|
|
@@ -8672,7 +9702,7 @@ var ServerNS = class {
|
|
|
8672
9702
|
}
|
|
8673
9703
|
getAccountsConfig(params2, opts) {
|
|
8674
9704
|
return this._service.xrpc.call("com.atproto.server.getAccountsConfig", params2, void 0, opts).catch((e) => {
|
|
8675
|
-
throw
|
|
9705
|
+
throw toKnownErr27(e);
|
|
8676
9706
|
});
|
|
8677
9707
|
}
|
|
8678
9708
|
};
|
|
@@ -8682,22 +9712,22 @@ var SessionNS = class {
|
|
|
8682
9712
|
}
|
|
8683
9713
|
create(data, opts) {
|
|
8684
9714
|
return this._service.xrpc.call("com.atproto.session.create", opts?.qp, data, opts).catch((e) => {
|
|
8685
|
-
throw
|
|
9715
|
+
throw toKnownErr28(e);
|
|
8686
9716
|
});
|
|
8687
9717
|
}
|
|
8688
9718
|
delete(data, opts) {
|
|
8689
9719
|
return this._service.xrpc.call("com.atproto.session.delete", opts?.qp, data, opts).catch((e) => {
|
|
8690
|
-
throw
|
|
9720
|
+
throw toKnownErr29(e);
|
|
8691
9721
|
});
|
|
8692
9722
|
}
|
|
8693
9723
|
get(params2, opts) {
|
|
8694
9724
|
return this._service.xrpc.call("com.atproto.session.get", params2, void 0, opts).catch((e) => {
|
|
8695
|
-
throw
|
|
9725
|
+
throw toKnownErr30(e);
|
|
8696
9726
|
});
|
|
8697
9727
|
}
|
|
8698
9728
|
refresh(data, opts) {
|
|
8699
9729
|
return this._service.xrpc.call("com.atproto.session.refresh", opts?.qp, data, opts).catch((e) => {
|
|
8700
|
-
throw
|
|
9730
|
+
throw toKnownErr31(e);
|
|
8701
9731
|
});
|
|
8702
9732
|
}
|
|
8703
9733
|
};
|
|
@@ -8705,19 +9735,29 @@ var SyncNS = class {
|
|
|
8705
9735
|
constructor(service) {
|
|
8706
9736
|
this._service = service;
|
|
8707
9737
|
}
|
|
8708
|
-
|
|
8709
|
-
return this._service.xrpc.call("com.atproto.sync.
|
|
8710
|
-
throw
|
|
9738
|
+
getCheckout(params2, opts) {
|
|
9739
|
+
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
9740
|
+
throw toKnownErr32(e);
|
|
8711
9741
|
});
|
|
8712
9742
|
}
|
|
8713
|
-
|
|
8714
|
-
return this._service.xrpc.call("com.atproto.sync.
|
|
8715
|
-
throw
|
|
9743
|
+
getCommitPath(params2, opts) {
|
|
9744
|
+
return this._service.xrpc.call("com.atproto.sync.getCommitPath", params2, void 0, opts).catch((e) => {
|
|
9745
|
+
throw toKnownErr33(e);
|
|
8716
9746
|
});
|
|
8717
9747
|
}
|
|
8718
|
-
|
|
8719
|
-
return this._service.xrpc.call("com.atproto.sync.
|
|
8720
|
-
throw
|
|
9748
|
+
getHead(params2, opts) {
|
|
9749
|
+
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
9750
|
+
throw toKnownErr34(e);
|
|
9751
|
+
});
|
|
9752
|
+
}
|
|
9753
|
+
getRecord(params2, opts) {
|
|
9754
|
+
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
9755
|
+
throw toKnownErr35(e);
|
|
9756
|
+
});
|
|
9757
|
+
}
|
|
9758
|
+
getRepo(params2, opts) {
|
|
9759
|
+
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
9760
|
+
throw toKnownErr36(e);
|
|
8721
9761
|
});
|
|
8722
9762
|
}
|
|
8723
9763
|
};
|
|
@@ -8743,34 +9783,29 @@ var ActorNS = class {
|
|
|
8743
9783
|
this._service = service;
|
|
8744
9784
|
this.profile = new ProfileRecord(service);
|
|
8745
9785
|
}
|
|
8746
|
-
createScene(data, opts) {
|
|
8747
|
-
return this._service.xrpc.call("app.bsky.actor.createScene", opts?.qp, data, opts).catch((e) => {
|
|
8748
|
-
throw toKnownErr24(e);
|
|
8749
|
-
});
|
|
8750
|
-
}
|
|
8751
9786
|
getProfile(params2, opts) {
|
|
8752
9787
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
8753
|
-
throw
|
|
9788
|
+
throw toKnownErr37(e);
|
|
8754
9789
|
});
|
|
8755
9790
|
}
|
|
8756
9791
|
getSuggestions(params2, opts) {
|
|
8757
9792
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
8758
|
-
throw
|
|
9793
|
+
throw toKnownErr38(e);
|
|
8759
9794
|
});
|
|
8760
9795
|
}
|
|
8761
9796
|
search(params2, opts) {
|
|
8762
9797
|
return this._service.xrpc.call("app.bsky.actor.search", params2, void 0, opts).catch((e) => {
|
|
8763
|
-
throw
|
|
9798
|
+
throw toKnownErr39(e);
|
|
8764
9799
|
});
|
|
8765
9800
|
}
|
|
8766
9801
|
searchTypeahead(params2, opts) {
|
|
8767
9802
|
return this._service.xrpc.call("app.bsky.actor.searchTypeahead", params2, void 0, opts).catch((e) => {
|
|
8768
|
-
throw
|
|
9803
|
+
throw toKnownErr40(e);
|
|
8769
9804
|
});
|
|
8770
9805
|
}
|
|
8771
9806
|
updateProfile(data, opts) {
|
|
8772
9807
|
return this._service.xrpc.call("app.bsky.actor.updateProfile", opts?.qp, data, opts).catch((e) => {
|
|
8773
|
-
throw
|
|
9808
|
+
throw toKnownErr41(e);
|
|
8774
9809
|
});
|
|
8775
9810
|
}
|
|
8776
9811
|
};
|
|
@@ -8821,37 +9856,36 @@ var FeedNS = class {
|
|
|
8821
9856
|
this._service = service;
|
|
8822
9857
|
this.post = new PostRecord(service);
|
|
8823
9858
|
this.repost = new RepostRecord(service);
|
|
8824
|
-
this.trend = new TrendRecord(service);
|
|
8825
9859
|
this.vote = new VoteRecord(service);
|
|
8826
9860
|
}
|
|
8827
9861
|
getAuthorFeed(params2, opts) {
|
|
8828
9862
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
8829
|
-
throw
|
|
9863
|
+
throw toKnownErr42(e);
|
|
8830
9864
|
});
|
|
8831
9865
|
}
|
|
8832
9866
|
getPostThread(params2, opts) {
|
|
8833
9867
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
8834
|
-
throw
|
|
9868
|
+
throw toKnownErr43(e);
|
|
8835
9869
|
});
|
|
8836
9870
|
}
|
|
8837
9871
|
getRepostedBy(params2, opts) {
|
|
8838
9872
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
8839
|
-
throw
|
|
9873
|
+
throw toKnownErr44(e);
|
|
8840
9874
|
});
|
|
8841
9875
|
}
|
|
8842
9876
|
getTimeline(params2, opts) {
|
|
8843
9877
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
8844
|
-
throw
|
|
9878
|
+
throw toKnownErr45(e);
|
|
8845
9879
|
});
|
|
8846
9880
|
}
|
|
8847
9881
|
getVotes(params2, opts) {
|
|
8848
9882
|
return this._service.xrpc.call("app.bsky.feed.getVotes", params2, void 0, opts).catch((e) => {
|
|
8849
|
-
throw
|
|
9883
|
+
throw toKnownErr46(e);
|
|
8850
9884
|
});
|
|
8851
9885
|
}
|
|
8852
9886
|
setVote(data, opts) {
|
|
8853
9887
|
return this._service.xrpc.call("app.bsky.feed.setVote", opts?.qp, data, opts).catch((e) => {
|
|
8854
|
-
throw
|
|
9888
|
+
throw toKnownErr47(e);
|
|
8855
9889
|
});
|
|
8856
9890
|
}
|
|
8857
9891
|
};
|
|
@@ -8929,43 +9963,6 @@ var RepostRecord = class {
|
|
|
8929
9963
|
);
|
|
8930
9964
|
}
|
|
8931
9965
|
};
|
|
8932
|
-
var TrendRecord = class {
|
|
8933
|
-
constructor(service) {
|
|
8934
|
-
this._service = service;
|
|
8935
|
-
}
|
|
8936
|
-
async list(params2) {
|
|
8937
|
-
const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
|
|
8938
|
-
collection: "app.bsky.feed.trend",
|
|
8939
|
-
...params2
|
|
8940
|
-
});
|
|
8941
|
-
return res.data;
|
|
8942
|
-
}
|
|
8943
|
-
async get(params2) {
|
|
8944
|
-
const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
|
|
8945
|
-
collection: "app.bsky.feed.trend",
|
|
8946
|
-
...params2
|
|
8947
|
-
});
|
|
8948
|
-
return res.data;
|
|
8949
|
-
}
|
|
8950
|
-
async create(params2, record, headers) {
|
|
8951
|
-
record.$type = "app.bsky.feed.trend";
|
|
8952
|
-
const res = await this._service.xrpc.call(
|
|
8953
|
-
"com.atproto.repo.createRecord",
|
|
8954
|
-
void 0,
|
|
8955
|
-
{ collection: "app.bsky.feed.trend", ...params2, record },
|
|
8956
|
-
{ encoding: "application/json", headers }
|
|
8957
|
-
);
|
|
8958
|
-
return res.data;
|
|
8959
|
-
}
|
|
8960
|
-
async delete(params2, headers) {
|
|
8961
|
-
await this._service.xrpc.call(
|
|
8962
|
-
"com.atproto.repo.deleteRecord",
|
|
8963
|
-
void 0,
|
|
8964
|
-
{ collection: "app.bsky.feed.trend", ...params2 },
|
|
8965
|
-
{ headers }
|
|
8966
|
-
);
|
|
8967
|
-
}
|
|
8968
|
-
};
|
|
8969
9966
|
var VoteRecord = class {
|
|
8970
9967
|
constructor(service) {
|
|
8971
9968
|
this._service = service;
|
|
@@ -9010,44 +10007,29 @@ var GraphNS = class {
|
|
|
9010
10007
|
this.confirmation = new ConfirmationRecord(service);
|
|
9011
10008
|
this.follow = new FollowRecord(service);
|
|
9012
10009
|
}
|
|
9013
|
-
getAssertions(params2, opts) {
|
|
9014
|
-
return this._service.xrpc.call("app.bsky.graph.getAssertions", params2, void 0, opts).catch((e) => {
|
|
9015
|
-
throw toKnownErr36(e);
|
|
9016
|
-
});
|
|
9017
|
-
}
|
|
9018
10010
|
getFollowers(params2, opts) {
|
|
9019
10011
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
9020
|
-
throw
|
|
10012
|
+
throw toKnownErr48(e);
|
|
9021
10013
|
});
|
|
9022
10014
|
}
|
|
9023
10015
|
getFollows(params2, opts) {
|
|
9024
10016
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
9025
|
-
throw
|
|
9026
|
-
});
|
|
9027
|
-
}
|
|
9028
|
-
getMembers(params2, opts) {
|
|
9029
|
-
return this._service.xrpc.call("app.bsky.graph.getMembers", params2, void 0, opts).catch((e) => {
|
|
9030
|
-
throw toKnownErr39(e);
|
|
9031
|
-
});
|
|
9032
|
-
}
|
|
9033
|
-
getMemberships(params2, opts) {
|
|
9034
|
-
return this._service.xrpc.call("app.bsky.graph.getMemberships", params2, void 0, opts).catch((e) => {
|
|
9035
|
-
throw toKnownErr40(e);
|
|
10017
|
+
throw toKnownErr49(e);
|
|
9036
10018
|
});
|
|
9037
10019
|
}
|
|
9038
10020
|
getMutes(params2, opts) {
|
|
9039
10021
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
9040
|
-
throw
|
|
10022
|
+
throw toKnownErr50(e);
|
|
9041
10023
|
});
|
|
9042
10024
|
}
|
|
9043
10025
|
mute(data, opts) {
|
|
9044
10026
|
return this._service.xrpc.call("app.bsky.graph.mute", opts?.qp, data, opts).catch((e) => {
|
|
9045
|
-
throw
|
|
10027
|
+
throw toKnownErr51(e);
|
|
9046
10028
|
});
|
|
9047
10029
|
}
|
|
9048
10030
|
unmute(data, opts) {
|
|
9049
10031
|
return this._service.xrpc.call("app.bsky.graph.unmute", opts?.qp, data, opts).catch((e) => {
|
|
9050
|
-
throw
|
|
10032
|
+
throw toKnownErr52(e);
|
|
9051
10033
|
});
|
|
9052
10034
|
}
|
|
9053
10035
|
};
|
|
@@ -9168,17 +10150,17 @@ var NotificationNS = class {
|
|
|
9168
10150
|
}
|
|
9169
10151
|
getCount(params2, opts) {
|
|
9170
10152
|
return this._service.xrpc.call("app.bsky.notification.getCount", params2, void 0, opts).catch((e) => {
|
|
9171
|
-
throw
|
|
10153
|
+
throw toKnownErr53(e);
|
|
9172
10154
|
});
|
|
9173
10155
|
}
|
|
9174
10156
|
list(params2, opts) {
|
|
9175
10157
|
return this._service.xrpc.call("app.bsky.notification.list", params2, void 0, opts).catch((e) => {
|
|
9176
|
-
throw
|
|
10158
|
+
throw toKnownErr54(e);
|
|
9177
10159
|
});
|
|
9178
10160
|
}
|
|
9179
10161
|
updateSeen(data, opts) {
|
|
9180
10162
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
9181
|
-
throw
|
|
10163
|
+
throw toKnownErr55(e);
|
|
9182
10164
|
});
|
|
9183
10165
|
}
|
|
9184
10166
|
};
|
|
@@ -9355,7 +10337,7 @@ var SessionManager = class extends import_events.default {
|
|
|
9355
10337
|
APP_BSKY_SYSTEM,
|
|
9356
10338
|
AccountNS,
|
|
9357
10339
|
ActorNS,
|
|
9358
|
-
|
|
10340
|
+
AdminNS,
|
|
9359
10341
|
AppBskyActorGetProfile,
|
|
9360
10342
|
AppBskyActorGetSuggestions,
|
|
9361
10343
|
AppBskyActorProfile,
|
|
@@ -9374,25 +10356,20 @@ var SessionManager = class extends import_events.default {
|
|
|
9374
10356
|
AppBskyFeedPost,
|
|
9375
10357
|
AppBskyFeedRepost,
|
|
9376
10358
|
AppBskyFeedSetVote,
|
|
9377
|
-
AppBskyFeedTrend,
|
|
9378
10359
|
AppBskyFeedVote,
|
|
9379
10360
|
AppBskyGraphAssertCreator,
|
|
9380
10361
|
AppBskyGraphAssertMember,
|
|
9381
10362
|
AppBskyGraphAssertion,
|
|
9382
10363
|
AppBskyGraphConfirmation,
|
|
9383
10364
|
AppBskyGraphFollow,
|
|
9384
|
-
AppBskyGraphGetAssertions,
|
|
9385
10365
|
AppBskyGraphGetFollowers,
|
|
9386
10366
|
AppBskyGraphGetFollows,
|
|
9387
|
-
AppBskyGraphGetMembers,
|
|
9388
|
-
AppBskyGraphGetMemberships,
|
|
9389
10367
|
AppBskyGraphGetMutes,
|
|
9390
10368
|
AppBskyGraphMute,
|
|
9391
10369
|
AppBskyGraphUnmute,
|
|
9392
10370
|
AppBskyNotificationGetCount,
|
|
9393
10371
|
AppBskyNotificationList,
|
|
9394
10372
|
AppBskyNotificationUpdateSeen,
|
|
9395
|
-
AppBskySystemActorScene,
|
|
9396
10373
|
AppBskySystemActorUser,
|
|
9397
10374
|
AppBskySystemDeclRef,
|
|
9398
10375
|
AppBskySystemDeclaration,
|
|
@@ -9401,6 +10378,8 @@ var SessionManager = class extends import_events.default {
|
|
|
9401
10378
|
AtprotoNS,
|
|
9402
10379
|
BlobNS,
|
|
9403
10380
|
BskyNS,
|
|
10381
|
+
COM_ATPROTO_ADMIN,
|
|
10382
|
+
COM_ATPROTO_REPORT,
|
|
9404
10383
|
Client,
|
|
9405
10384
|
ComAtprotoAccountCreate,
|
|
9406
10385
|
ComAtprotoAccountCreateInviteCode,
|
|
@@ -9408,6 +10387,20 @@ var SessionManager = class extends import_events.default {
|
|
|
9408
10387
|
ComAtprotoAccountGet,
|
|
9409
10388
|
ComAtprotoAccountRequestPasswordReset,
|
|
9410
10389
|
ComAtprotoAccountResetPassword,
|
|
10390
|
+
ComAtprotoAdminGetModerationAction,
|
|
10391
|
+
ComAtprotoAdminGetModerationActions,
|
|
10392
|
+
ComAtprotoAdminGetModerationReport,
|
|
10393
|
+
ComAtprotoAdminGetModerationReports,
|
|
10394
|
+
ComAtprotoAdminGetRecord,
|
|
10395
|
+
ComAtprotoAdminGetRepo,
|
|
10396
|
+
ComAtprotoAdminModerationAction,
|
|
10397
|
+
ComAtprotoAdminModerationReport,
|
|
10398
|
+
ComAtprotoAdminRecord,
|
|
10399
|
+
ComAtprotoAdminRepo,
|
|
10400
|
+
ComAtprotoAdminResolveModerationReports,
|
|
10401
|
+
ComAtprotoAdminReverseModerationAction,
|
|
10402
|
+
ComAtprotoAdminSearchRepos,
|
|
10403
|
+
ComAtprotoAdminTakeModerationAction,
|
|
9411
10404
|
ComAtprotoBlobUpload,
|
|
9412
10405
|
ComAtprotoHandleResolve,
|
|
9413
10406
|
ComAtprotoRepoBatchWrite,
|
|
@@ -9417,15 +10410,22 @@ var SessionManager = class extends import_events.default {
|
|
|
9417
10410
|
ComAtprotoRepoGetRecord,
|
|
9418
10411
|
ComAtprotoRepoListRecords,
|
|
9419
10412
|
ComAtprotoRepoPutRecord,
|
|
10413
|
+
ComAtprotoRepoRecordRef,
|
|
10414
|
+
ComAtprotoRepoRepoRef,
|
|
9420
10415
|
ComAtprotoRepoStrongRef,
|
|
10416
|
+
ComAtprotoReportCreate,
|
|
10417
|
+
ComAtprotoReportReasonType,
|
|
10418
|
+
ComAtprotoReportSubject,
|
|
9421
10419
|
ComAtprotoServerGetAccountsConfig,
|
|
9422
10420
|
ComAtprotoSessionCreate,
|
|
9423
10421
|
ComAtprotoSessionDelete,
|
|
9424
10422
|
ComAtprotoSessionGet,
|
|
9425
10423
|
ComAtprotoSessionRefresh,
|
|
10424
|
+
ComAtprotoSyncGetCheckout,
|
|
10425
|
+
ComAtprotoSyncGetCommitPath,
|
|
10426
|
+
ComAtprotoSyncGetHead,
|
|
10427
|
+
ComAtprotoSyncGetRecord,
|
|
9426
10428
|
ComAtprotoSyncGetRepo,
|
|
9427
|
-
ComAtprotoSyncGetRoot,
|
|
9428
|
-
ComAtprotoSyncUpdateRepo,
|
|
9429
10429
|
ComNS,
|
|
9430
10430
|
ConfirmationRecord,
|
|
9431
10431
|
DeclarationRecord,
|
|
@@ -9438,6 +10438,7 @@ var SessionManager = class extends import_events.default {
|
|
|
9438
10438
|
PostRecord,
|
|
9439
10439
|
ProfileRecord,
|
|
9440
10440
|
RepoNS,
|
|
10441
|
+
ReportNS,
|
|
9441
10442
|
RepostRecord,
|
|
9442
10443
|
ServerNS,
|
|
9443
10444
|
ServiceClient,
|
|
@@ -9448,7 +10449,6 @@ var SessionManager = class extends import_events.default {
|
|
|
9448
10449
|
SessionXrpcServiceClient,
|
|
9449
10450
|
SyncNS,
|
|
9450
10451
|
SystemNS,
|
|
9451
|
-
TrendRecord,
|
|
9452
10452
|
VoteRecord,
|
|
9453
10453
|
sessionClient
|
|
9454
10454
|
});
|