@atproto/api 0.2.11 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/client/index.d.ts +77 -0
- package/dist/client/lexicons.d.ts +480 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts +2 -0
- package/dist/client/types/app/bsky/actor/searchActor.d.ts +22 -0
- package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +20 -0
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +10 -3
- package/dist/client/types/app/bsky/feed/bookmarkFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/feed/generator.d.ts +13 -0
- package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts +22 -0
- package/dist/client/types/app/bsky/feed/getBookmarkedFeeds.d.ts +21 -0
- package/dist/client/types/app/bsky/feed/getFeed.d.ts +22 -0
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts +22 -0
- package/dist/client/types/app/bsky/feed/unbookmarkFeed.d.ts +17 -0
- package/dist/client/types/app/bsky/graph/defs.d.ts +42 -0
- package/dist/client/types/app/bsky/graph/getList.d.ts +23 -0
- package/dist/client/types/app/bsky/graph/getListMutes.d.ts +21 -0
- package/dist/client/types/app/bsky/graph/getLists.d.ts +22 -0
- package/dist/client/types/app/bsky/graph/list.d.ts +14 -0
- package/dist/client/types/app/bsky/graph/listitem.d.ts +9 -0
- package/dist/client/types/app/bsky/graph/muteActorList.d.ts +17 -0
- package/dist/client/types/app/bsky/graph/unmuteActorList.d.ts +17 -0
- package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +1 -0
- package/dist/client/types/com/atproto/admin/defs.d.ts +4 -1
- package/dist/client/types/com/atproto/admin/disableAccountInvites.d.ts +17 -0
- package/dist/client/types/com/atproto/admin/enableAccountInvites.d.ts +17 -0
- package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +29 -0
- package/dist/client/types/com/atproto/repo/importRepo.d.ts +19 -0
- package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +21 -0
- package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +19 -0
- package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +31 -0
- package/dist/index.js +1997 -561
- package/dist/index.js.map +4 -4
- package/dist/src/client/index.d.ts +462 -0
- package/dist/src/client/lexicons.d.ts +2910 -0
- package/dist/src/client/schemas.d.ts +17 -0
- package/dist/src/client/types/app/bsky/actor/createScene.d.ts +32 -0
- package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +36 -0
- package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +36 -0
- package/dist/src/client/types/app/bsky/actor/profile.d.ts +15 -0
- package/dist/src/client/types/app/bsky/actor/ref.d.ts +14 -0
- package/dist/src/client/types/app/bsky/actor/search.d.ts +32 -0
- package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +28 -0
- package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +48 -0
- package/dist/src/client/types/app/bsky/badge.d.ts +22 -0
- package/dist/src/client/types/app/bsky/badgeAccept.d.ts +11 -0
- package/dist/src/client/types/app/bsky/badgeOffer.d.ts +11 -0
- package/dist/src/client/types/app/bsky/declaration.d.ts +6 -0
- package/dist/src/client/types/app/bsky/embed/external.d.ts +26 -0
- package/dist/src/client/types/app/bsky/embed/images.d.ts +23 -0
- package/dist/src/client/types/app/bsky/feed/embed.d.ts +36 -0
- package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +26 -0
- package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +22 -0
- package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +43 -0
- package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +35 -0
- package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +22 -0
- package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +33 -0
- package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +18 -0
- package/dist/src/client/types/app/bsky/feed/post.d.ts +54 -0
- package/dist/src/client/types/app/bsky/feed/repost.d.ts +6 -0
- package/dist/src/client/types/app/bsky/feed/setVote.d.ts +25 -0
- package/dist/src/client/types/app/bsky/feed/trend.d.ts +6 -0
- package/dist/src/client/types/app/bsky/feed/vote.d.ts +7 -0
- package/dist/src/client/types/app/bsky/follow.d.ts +9 -0
- package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getLikedBy.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +16 -0
- package/dist/src/client/types/app/bsky/getNotifications.d.ts +33 -0
- package/dist/src/client/types/app/bsky/getPostThread.d.ts +55 -0
- package/dist/src/client/types/app/bsky/getProfile.d.ts +26 -0
- package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +29 -0
- package/dist/src/client/types/app/bsky/getTimeline.d.ts +56 -0
- package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +31 -0
- package/dist/src/client/types/app/bsky/getUserFollows.d.ts +31 -0
- package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +26 -0
- package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +22 -0
- package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +1 -0
- package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +1 -0
- package/dist/src/client/types/app/bsky/graph/assertion.d.ts +7 -0
- package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +8 -0
- package/dist/src/client/types/app/bsky/graph/follow.d.ts +6 -0
- package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +43 -0
- package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +34 -0
- package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +33 -0
- package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +33 -0
- package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +33 -0
- package/dist/src/client/types/app/bsky/invite.d.ts +10 -0
- package/dist/src/client/types/app/bsky/inviteAccept.d.ts +14 -0
- package/dist/src/client/types/app/bsky/like.d.ts +10 -0
- package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +15 -0
- package/dist/src/client/types/app/bsky/notification/getCount.d.ts +17 -0
- package/dist/src/client/types/app/bsky/notification/list.d.ts +32 -0
- package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +17 -0
- package/dist/src/client/types/app/bsky/post.d.ts +23 -0
- package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +20 -0
- package/dist/src/client/types/app/bsky/profile.d.ts +5 -0
- package/dist/src/client/types/app/bsky/repost.d.ts +10 -0
- package/dist/src/client/types/app/bsky/system/actorScene.d.ts +1 -0
- package/dist/src/client/types/app/bsky/system/actorUser.d.ts +1 -0
- package/dist/src/client/types/app/bsky/system/declRef.d.ts +5 -0
- package/dist/src/client/types/app/bsky/system/declaration.d.ts +4 -0
- package/dist/src/client/types/app/bsky/updateProfile.d.ts +23 -0
- package/dist/src/client/types/com/atproto/account/create.d.ts +41 -0
- package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +22 -0
- package/dist/src/client/types/com/atproto/account/delete.d.ts +13 -0
- package/dist/src/client/types/com/atproto/account/get.d.ts +12 -0
- package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +17 -0
- package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +24 -0
- package/dist/src/client/types/com/atproto/blob/upload.d.ts +19 -0
- package/dist/src/client/types/com/atproto/createAccount.d.ts +40 -0
- package/dist/src/client/types/com/atproto/createInviteCode.d.ts +20 -0
- package/dist/src/client/types/com/atproto/createSession.d.ts +24 -0
- package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +19 -0
- package/dist/src/client/types/com/atproto/deleteAccount.d.ts +20 -0
- package/dist/src/client/types/com/atproto/deleteSession.d.ts +17 -0
- package/dist/src/client/types/com/atproto/getAccount.d.ts +16 -0
- package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +17 -0
- package/dist/src/client/types/com/atproto/getSession.d.ts +17 -0
- package/dist/src/client/types/com/atproto/handle/resolve.d.ts +18 -0
- package/dist/src/client/types/com/atproto/refreshSession.d.ts +20 -0
- package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +39 -0
- package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +26 -0
- package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +19 -0
- package/dist/src/client/types/com/atproto/repo/describe.d.ts +22 -0
- package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +23 -0
- package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +30 -0
- package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +27 -0
- package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +5 -0
- package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +36 -0
- package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +24 -0
- package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +18 -0
- package/dist/src/client/types/com/atproto/repoDescribe.d.ts +21 -0
- package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +22 -0
- package/dist/src/client/types/com/atproto/repoListRecords.d.ts +27 -0
- package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +25 -0
- package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +19 -0
- package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +26 -0
- package/dist/src/client/types/com/atproto/resolveHandle.d.ts +17 -0
- package/dist/src/client/types/com/atproto/resolveName.d.ts +17 -0
- package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +24 -0
- package/dist/src/client/types/com/atproto/session/create.d.ts +26 -0
- package/dist/src/client/types/com/atproto/session/delete.d.ts +13 -0
- package/dist/src/client/types/com/atproto/session/get.d.ts +18 -0
- package/dist/src/client/types/com/atproto/session/refresh.d.ts +21 -0
- package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +18 -0
- package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +15 -0
- package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +17 -0
- package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +15 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/schemas.d.ts +19 -0
- package/dist/src/session.d.ts +42 -0
- package/dist/src/types/app/bsky/acceptedBadge.d.ts +10 -0
- package/dist/src/types/app/bsky/badge.d.ts +22 -0
- package/dist/src/types/app/bsky/badgeAccept.d.ts +11 -0
- package/dist/src/types/app/bsky/badgeOffer.d.ts +11 -0
- package/dist/src/types/app/bsky/declaration.d.ts +6 -0
- package/dist/src/types/app/bsky/follow.d.ts +9 -0
- package/dist/src/types/app/bsky/getAuthorFeed.d.ts +56 -0
- package/dist/src/types/app/bsky/getBadgeMembers.d.ts +29 -0
- package/dist/src/types/app/bsky/getHomeFeed.d.ts +56 -0
- package/dist/src/types/app/bsky/getLikedBy.d.ts +29 -0
- package/dist/src/types/app/bsky/getNotificationCount.d.ts +16 -0
- package/dist/src/types/app/bsky/getNotifications.d.ts +33 -0
- package/dist/src/types/app/bsky/getPostThread.d.ts +55 -0
- package/dist/src/types/app/bsky/getProfile.d.ts +42 -0
- package/dist/src/types/app/bsky/getRepostedBy.d.ts +29 -0
- package/dist/src/types/app/bsky/getUserFollowers.d.ts +31 -0
- package/dist/src/types/app/bsky/getUserFollows.d.ts +31 -0
- package/dist/src/types/app/bsky/getUsersSearch.d.ts +26 -0
- package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +22 -0
- package/dist/src/types/app/bsky/invite.d.ts +10 -0
- package/dist/src/types/app/bsky/inviteAccept.d.ts +14 -0
- package/dist/src/types/app/bsky/like.d.ts +10 -0
- package/dist/src/types/app/bsky/mediaEmbed.d.ts +15 -0
- package/dist/src/types/app/bsky/post.d.ts +23 -0
- package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +19 -0
- package/dist/src/types/app/bsky/profile.d.ts +11 -0
- package/dist/src/types/app/bsky/repost.d.ts +10 -0
- package/dist/src/types/app/bsky/updateProfile.d.ts +27 -0
- package/dist/src/types/com/atproto/createAccount.d.ts +39 -0
- package/dist/src/types/com/atproto/createInviteCode.d.ts +19 -0
- package/dist/src/types/com/atproto/createSession.d.ts +23 -0
- package/dist/src/types/com/atproto/deleteAccount.d.ts +19 -0
- package/dist/src/types/com/atproto/deleteSession.d.ts +16 -0
- package/dist/src/types/com/atproto/getAccount.d.ts +19 -0
- package/dist/src/types/com/atproto/getAccountsConfig.d.ts +17 -0
- package/dist/src/types/com/atproto/getSession.d.ts +17 -0
- package/dist/src/types/com/atproto/refreshSession.d.ts +19 -0
- package/dist/src/types/com/atproto/repoBatchWrite.d.ts +35 -0
- package/dist/src/types/com/atproto/repoCreateRecord.d.ts +23 -0
- package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +15 -0
- package/dist/src/types/com/atproto/repoDescribe.d.ts +21 -0
- package/dist/src/types/com/atproto/repoGetRecord.d.ts +22 -0
- package/dist/src/types/com/atproto/repoListRecords.d.ts +27 -0
- package/dist/src/types/com/atproto/repoPutRecord.d.ts +24 -0
- package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +18 -0
- package/dist/src/types/com/atproto/resetAccountPassword.d.ts +25 -0
- package/dist/src/types/com/atproto/resolveName.d.ts +17 -0
- package/dist/src/types/com/atproto/syncGetRepo.d.ts +15 -0
- package/dist/src/types/com/atproto/syncGetRoot.d.ts +17 -0
- package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +14 -0
- package/dist/src/types/todo/adx/createAccount.d.ts +36 -0
- package/dist/src/types/todo/adx/createInviteCode.d.ts +19 -0
- package/dist/src/types/todo/adx/createSession.d.ts +22 -0
- package/dist/src/types/todo/adx/deleteAccount.d.ts +19 -0
- package/dist/src/types/todo/adx/deleteSession.d.ts +19 -0
- package/dist/src/types/todo/adx/getAccount.d.ts +19 -0
- package/dist/src/types/todo/adx/getAccountsConfig.d.ts +17 -0
- package/dist/src/types/todo/adx/getSession.d.ts +17 -0
- package/dist/src/types/todo/adx/repoBatchWrite.d.ts +34 -0
- package/dist/src/types/todo/adx/repoCreateRecord.d.ts +22 -0
- package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +15 -0
- package/dist/src/types/todo/adx/repoDescribe.d.ts +21 -0
- package/dist/src/types/todo/adx/repoGetRecord.d.ts +20 -0
- package/dist/src/types/todo/adx/repoListRecords.d.ts +25 -0
- package/dist/src/types/todo/adx/repoPutRecord.d.ts +23 -0
- package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +18 -0
- package/dist/src/types/todo/adx/resetAccountPassword.d.ts +25 -0
- package/dist/src/types/todo/adx/resolveName.d.ts +17 -0
- package/dist/src/types/todo/adx/syncGetRepo.d.ts +15 -0
- package/dist/src/types/todo/adx/syncGetRoot.d.ts +17 -0
- package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +14 -0
- package/dist/src/types/todo/social/badge.d.ts +23 -0
- package/dist/src/types/todo/social/follow.d.ts +5 -0
- package/dist/src/types/todo/social/getAuthorFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getHomeFeed.d.ts +55 -0
- package/dist/src/types/todo/social/getLikedBy.d.ts +26 -0
- package/dist/src/types/todo/social/getNotificationCount.d.ts +16 -0
- package/dist/src/types/todo/social/getNotifications.d.ts +31 -0
- package/dist/src/types/todo/social/getPostThread.d.ts +54 -0
- package/dist/src/types/todo/social/getProfile.d.ts +40 -0
- package/dist/src/types/todo/social/getRepostedBy.d.ts +26 -0
- package/dist/src/types/todo/social/getUserFollowers.d.ts +30 -0
- package/dist/src/types/todo/social/getUserFollows.d.ts +30 -0
- package/dist/src/types/todo/social/like.d.ts +5 -0
- package/dist/src/types/todo/social/mediaEmbed.d.ts +15 -0
- package/dist/src/types/todo/social/post.d.ts +18 -0
- package/dist/src/types/todo/social/postNotificationsSeen.d.ts +19 -0
- package/dist/src/types/todo/social/profile.d.ts +10 -0
- package/dist/src/types/todo/social/repost.d.ts +5 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +6 -1
- package/src/client/index.ts +240 -0
- package/src/client/lexicons.ts +488 -0
- package/src/client/types/app/bsky/actor/defs.ts +2 -0
- package/src/client/types/app/bsky/graph/defs.ts +95 -0
- package/src/client/types/app/bsky/graph/getList.ts +40 -0
- package/src/client/types/app/bsky/graph/getListMutes.ts +38 -0
- package/src/client/types/app/bsky/graph/getLists.ts +39 -0
- package/src/client/types/app/bsky/graph/list.ts +32 -0
- package/src/client/types/app/bsky/graph/listitem.ts +27 -0
- package/src/client/types/app/bsky/graph/muteActorList.ts +32 -0
- package/src/client/types/app/bsky/graph/unmuteActorList.ts +32 -0
- package/src/client/types/app/bsky/unspecced/getPopular.ts +1 -0
- package/src/client/types/com/atproto/admin/defs.ts +5 -0
- package/src/client/types/com/atproto/admin/disableAccountInvites.ts +32 -0
- package/src/client/types/com/atproto/admin/enableAccountInvites.ts +32 -0
- package/src/client/types/com/atproto/repo/rebaseRepo.ts +42 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/helpers/bsky.d.ts +0 -20
- package/dist/mixins/bsky.d.ts +0 -23
- package/dist/rich-text/sanitize.d.ts +0 -4
|
@@ -164,6 +164,10 @@ export declare const schemaDict: {
|
|
|
164
164
|
type: string;
|
|
165
165
|
description: string;
|
|
166
166
|
};
|
|
167
|
+
escalate: {
|
|
168
|
+
type: string;
|
|
169
|
+
description: string;
|
|
170
|
+
};
|
|
167
171
|
reportView: {
|
|
168
172
|
type: string;
|
|
169
173
|
required: string[];
|
|
@@ -266,6 +270,9 @@ export declare const schemaDict: {
|
|
|
266
270
|
type: string;
|
|
267
271
|
ref: string;
|
|
268
272
|
};
|
|
273
|
+
invitesDisabled: {
|
|
274
|
+
type: string;
|
|
275
|
+
};
|
|
269
276
|
};
|
|
270
277
|
};
|
|
271
278
|
repoViewDetail: {
|
|
@@ -315,6 +322,9 @@ export declare const schemaDict: {
|
|
|
315
322
|
ref: string;
|
|
316
323
|
};
|
|
317
324
|
};
|
|
325
|
+
invitesDisabled: {
|
|
326
|
+
type: string;
|
|
327
|
+
};
|
|
318
328
|
};
|
|
319
329
|
};
|
|
320
330
|
repoRef: {
|
|
@@ -497,6 +507,29 @@ export declare const schemaDict: {
|
|
|
497
507
|
};
|
|
498
508
|
};
|
|
499
509
|
};
|
|
510
|
+
ComAtprotoAdminDisableAccountInvites: {
|
|
511
|
+
lexicon: number;
|
|
512
|
+
id: string;
|
|
513
|
+
defs: {
|
|
514
|
+
main: {
|
|
515
|
+
type: string;
|
|
516
|
+
description: string;
|
|
517
|
+
input: {
|
|
518
|
+
encoding: string;
|
|
519
|
+
schema: {
|
|
520
|
+
type: string;
|
|
521
|
+
required: string[];
|
|
522
|
+
properties: {
|
|
523
|
+
account: {
|
|
524
|
+
type: string;
|
|
525
|
+
format: string;
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
};
|
|
500
533
|
ComAtprotoAdminDisableInviteCodes: {
|
|
501
534
|
lexicon: number;
|
|
502
535
|
id: string;
|
|
@@ -527,6 +560,29 @@ export declare const schemaDict: {
|
|
|
527
560
|
};
|
|
528
561
|
};
|
|
529
562
|
};
|
|
563
|
+
ComAtprotoAdminEnableAccountInvites: {
|
|
564
|
+
lexicon: number;
|
|
565
|
+
id: string;
|
|
566
|
+
defs: {
|
|
567
|
+
main: {
|
|
568
|
+
type: string;
|
|
569
|
+
description: string;
|
|
570
|
+
input: {
|
|
571
|
+
encoding: string;
|
|
572
|
+
schema: {
|
|
573
|
+
type: string;
|
|
574
|
+
required: string[];
|
|
575
|
+
properties: {
|
|
576
|
+
account: {
|
|
577
|
+
type: string;
|
|
578
|
+
format: string;
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
};
|
|
530
586
|
ComAtprotoAdminGetInviteCodes: {
|
|
531
587
|
lexicon: number;
|
|
532
588
|
id: string;
|
|
@@ -1798,6 +1854,38 @@ export declare const schemaDict: {
|
|
|
1798
1854
|
};
|
|
1799
1855
|
};
|
|
1800
1856
|
};
|
|
1857
|
+
ComAtprotoRepoRebaseRepo: {
|
|
1858
|
+
lexicon: number;
|
|
1859
|
+
id: string;
|
|
1860
|
+
defs: {
|
|
1861
|
+
main: {
|
|
1862
|
+
type: string;
|
|
1863
|
+
description: string;
|
|
1864
|
+
input: {
|
|
1865
|
+
encoding: string;
|
|
1866
|
+
schema: {
|
|
1867
|
+
type: string;
|
|
1868
|
+
required: string[];
|
|
1869
|
+
properties: {
|
|
1870
|
+
repo: {
|
|
1871
|
+
type: string;
|
|
1872
|
+
format: string;
|
|
1873
|
+
description: string;
|
|
1874
|
+
};
|
|
1875
|
+
swapCommit: {
|
|
1876
|
+
type: string;
|
|
1877
|
+
format: string;
|
|
1878
|
+
description: string;
|
|
1879
|
+
};
|
|
1880
|
+
};
|
|
1881
|
+
};
|
|
1882
|
+
};
|
|
1883
|
+
errors: {
|
|
1884
|
+
name: string;
|
|
1885
|
+
}[];
|
|
1886
|
+
};
|
|
1887
|
+
};
|
|
1888
|
+
};
|
|
1801
1889
|
ComAtprotoRepoStrongRef: {
|
|
1802
1890
|
lexicon: number;
|
|
1803
1891
|
id: string;
|
|
@@ -3169,6 +3257,10 @@ export declare const schemaDict: {
|
|
|
3169
3257
|
muted: {
|
|
3170
3258
|
type: string;
|
|
3171
3259
|
};
|
|
3260
|
+
mutedByList: {
|
|
3261
|
+
type: string;
|
|
3262
|
+
ref: string;
|
|
3263
|
+
};
|
|
3172
3264
|
blockedBy: {
|
|
3173
3265
|
type: string;
|
|
3174
3266
|
};
|
|
@@ -4311,6 +4403,114 @@ export declare const schemaDict: {
|
|
|
4311
4403
|
};
|
|
4312
4404
|
};
|
|
4313
4405
|
};
|
|
4406
|
+
AppBskyGraphDefs: {
|
|
4407
|
+
lexicon: number;
|
|
4408
|
+
id: string;
|
|
4409
|
+
defs: {
|
|
4410
|
+
listViewBasic: {
|
|
4411
|
+
type: string;
|
|
4412
|
+
required: string[];
|
|
4413
|
+
properties: {
|
|
4414
|
+
uri: {
|
|
4415
|
+
type: string;
|
|
4416
|
+
format: string;
|
|
4417
|
+
};
|
|
4418
|
+
name: {
|
|
4419
|
+
type: string;
|
|
4420
|
+
maxLength: number;
|
|
4421
|
+
minLength: number;
|
|
4422
|
+
};
|
|
4423
|
+
purpose: {
|
|
4424
|
+
type: string;
|
|
4425
|
+
ref: string;
|
|
4426
|
+
};
|
|
4427
|
+
avatar: {
|
|
4428
|
+
type: string;
|
|
4429
|
+
};
|
|
4430
|
+
viewer: {
|
|
4431
|
+
type: string;
|
|
4432
|
+
ref: string;
|
|
4433
|
+
};
|
|
4434
|
+
indexedAt: {
|
|
4435
|
+
type: string;
|
|
4436
|
+
format: string;
|
|
4437
|
+
};
|
|
4438
|
+
};
|
|
4439
|
+
};
|
|
4440
|
+
listView: {
|
|
4441
|
+
type: string;
|
|
4442
|
+
required: string[];
|
|
4443
|
+
properties: {
|
|
4444
|
+
uri: {
|
|
4445
|
+
type: string;
|
|
4446
|
+
format: string;
|
|
4447
|
+
};
|
|
4448
|
+
creator: {
|
|
4449
|
+
type: string;
|
|
4450
|
+
ref: string;
|
|
4451
|
+
};
|
|
4452
|
+
name: {
|
|
4453
|
+
type: string;
|
|
4454
|
+
maxLength: number;
|
|
4455
|
+
minLength: number;
|
|
4456
|
+
};
|
|
4457
|
+
purpose: {
|
|
4458
|
+
type: string;
|
|
4459
|
+
ref: string;
|
|
4460
|
+
};
|
|
4461
|
+
description: {
|
|
4462
|
+
type: string;
|
|
4463
|
+
maxGraphemes: number;
|
|
4464
|
+
maxLength: number;
|
|
4465
|
+
};
|
|
4466
|
+
descriptionFacets: {
|
|
4467
|
+
type: string;
|
|
4468
|
+
items: {
|
|
4469
|
+
type: string;
|
|
4470
|
+
ref: string;
|
|
4471
|
+
};
|
|
4472
|
+
};
|
|
4473
|
+
avatar: {
|
|
4474
|
+
type: string;
|
|
4475
|
+
};
|
|
4476
|
+
viewer: {
|
|
4477
|
+
type: string;
|
|
4478
|
+
ref: string;
|
|
4479
|
+
};
|
|
4480
|
+
indexedAt: {
|
|
4481
|
+
type: string;
|
|
4482
|
+
format: string;
|
|
4483
|
+
};
|
|
4484
|
+
};
|
|
4485
|
+
};
|
|
4486
|
+
listItemView: {
|
|
4487
|
+
type: string;
|
|
4488
|
+
required: string[];
|
|
4489
|
+
properties: {
|
|
4490
|
+
subject: {
|
|
4491
|
+
type: string;
|
|
4492
|
+
ref: string;
|
|
4493
|
+
};
|
|
4494
|
+
};
|
|
4495
|
+
};
|
|
4496
|
+
listPurpose: {
|
|
4497
|
+
type: string;
|
|
4498
|
+
knownValues: string[];
|
|
4499
|
+
};
|
|
4500
|
+
modlist: {
|
|
4501
|
+
type: string;
|
|
4502
|
+
description: string;
|
|
4503
|
+
};
|
|
4504
|
+
listViewerState: {
|
|
4505
|
+
type: string;
|
|
4506
|
+
properties: {
|
|
4507
|
+
muted: {
|
|
4508
|
+
type: string;
|
|
4509
|
+
};
|
|
4510
|
+
};
|
|
4511
|
+
};
|
|
4512
|
+
};
|
|
4513
|
+
};
|
|
4314
4514
|
AppBskyGraphFollow: {
|
|
4315
4515
|
lexicon: number;
|
|
4316
4516
|
id: string;
|
|
@@ -4483,6 +4683,149 @@ export declare const schemaDict: {
|
|
|
4483
4683
|
};
|
|
4484
4684
|
};
|
|
4485
4685
|
};
|
|
4686
|
+
AppBskyGraphGetList: {
|
|
4687
|
+
lexicon: number;
|
|
4688
|
+
id: string;
|
|
4689
|
+
defs: {
|
|
4690
|
+
main: {
|
|
4691
|
+
type: string;
|
|
4692
|
+
description: string;
|
|
4693
|
+
parameters: {
|
|
4694
|
+
type: string;
|
|
4695
|
+
required: string[];
|
|
4696
|
+
properties: {
|
|
4697
|
+
list: {
|
|
4698
|
+
type: string;
|
|
4699
|
+
format: string;
|
|
4700
|
+
};
|
|
4701
|
+
limit: {
|
|
4702
|
+
type: string;
|
|
4703
|
+
minimum: number;
|
|
4704
|
+
maximum: number;
|
|
4705
|
+
default: number;
|
|
4706
|
+
};
|
|
4707
|
+
cursor: {
|
|
4708
|
+
type: string;
|
|
4709
|
+
};
|
|
4710
|
+
};
|
|
4711
|
+
};
|
|
4712
|
+
output: {
|
|
4713
|
+
encoding: string;
|
|
4714
|
+
schema: {
|
|
4715
|
+
type: string;
|
|
4716
|
+
required: string[];
|
|
4717
|
+
properties: {
|
|
4718
|
+
cursor: {
|
|
4719
|
+
type: string;
|
|
4720
|
+
};
|
|
4721
|
+
list: {
|
|
4722
|
+
type: string;
|
|
4723
|
+
ref: string;
|
|
4724
|
+
};
|
|
4725
|
+
items: {
|
|
4726
|
+
type: string;
|
|
4727
|
+
items: {
|
|
4728
|
+
type: string;
|
|
4729
|
+
ref: string;
|
|
4730
|
+
};
|
|
4731
|
+
};
|
|
4732
|
+
};
|
|
4733
|
+
};
|
|
4734
|
+
};
|
|
4735
|
+
};
|
|
4736
|
+
};
|
|
4737
|
+
};
|
|
4738
|
+
AppBskyGraphGetListMutes: {
|
|
4739
|
+
lexicon: number;
|
|
4740
|
+
id: string;
|
|
4741
|
+
defs: {
|
|
4742
|
+
main: {
|
|
4743
|
+
type: string;
|
|
4744
|
+
description: string;
|
|
4745
|
+
parameters: {
|
|
4746
|
+
type: string;
|
|
4747
|
+
properties: {
|
|
4748
|
+
limit: {
|
|
4749
|
+
type: string;
|
|
4750
|
+
minimum: number;
|
|
4751
|
+
maximum: number;
|
|
4752
|
+
default: number;
|
|
4753
|
+
};
|
|
4754
|
+
cursor: {
|
|
4755
|
+
type: string;
|
|
4756
|
+
};
|
|
4757
|
+
};
|
|
4758
|
+
};
|
|
4759
|
+
output: {
|
|
4760
|
+
encoding: string;
|
|
4761
|
+
schema: {
|
|
4762
|
+
type: string;
|
|
4763
|
+
required: string[];
|
|
4764
|
+
properties: {
|
|
4765
|
+
cursor: {
|
|
4766
|
+
type: string;
|
|
4767
|
+
};
|
|
4768
|
+
lists: {
|
|
4769
|
+
type: string;
|
|
4770
|
+
items: {
|
|
4771
|
+
type: string;
|
|
4772
|
+
ref: string;
|
|
4773
|
+
};
|
|
4774
|
+
};
|
|
4775
|
+
};
|
|
4776
|
+
};
|
|
4777
|
+
};
|
|
4778
|
+
};
|
|
4779
|
+
};
|
|
4780
|
+
};
|
|
4781
|
+
AppBskyGraphGetLists: {
|
|
4782
|
+
lexicon: number;
|
|
4783
|
+
id: string;
|
|
4784
|
+
defs: {
|
|
4785
|
+
main: {
|
|
4786
|
+
type: string;
|
|
4787
|
+
description: string;
|
|
4788
|
+
parameters: {
|
|
4789
|
+
type: string;
|
|
4790
|
+
required: string[];
|
|
4791
|
+
properties: {
|
|
4792
|
+
actor: {
|
|
4793
|
+
type: string;
|
|
4794
|
+
format: string;
|
|
4795
|
+
};
|
|
4796
|
+
limit: {
|
|
4797
|
+
type: string;
|
|
4798
|
+
minimum: number;
|
|
4799
|
+
maximum: number;
|
|
4800
|
+
default: number;
|
|
4801
|
+
};
|
|
4802
|
+
cursor: {
|
|
4803
|
+
type: string;
|
|
4804
|
+
};
|
|
4805
|
+
};
|
|
4806
|
+
};
|
|
4807
|
+
output: {
|
|
4808
|
+
encoding: string;
|
|
4809
|
+
schema: {
|
|
4810
|
+
type: string;
|
|
4811
|
+
required: string[];
|
|
4812
|
+
properties: {
|
|
4813
|
+
cursor: {
|
|
4814
|
+
type: string;
|
|
4815
|
+
};
|
|
4816
|
+
lists: {
|
|
4817
|
+
type: string;
|
|
4818
|
+
items: {
|
|
4819
|
+
type: string;
|
|
4820
|
+
ref: string;
|
|
4821
|
+
};
|
|
4822
|
+
};
|
|
4823
|
+
};
|
|
4824
|
+
};
|
|
4825
|
+
};
|
|
4826
|
+
};
|
|
4827
|
+
};
|
|
4828
|
+
};
|
|
4486
4829
|
AppBskyGraphGetMutes: {
|
|
4487
4830
|
lexicon: number;
|
|
4488
4831
|
id: string;
|
|
@@ -4526,6 +4869,82 @@ export declare const schemaDict: {
|
|
|
4526
4869
|
};
|
|
4527
4870
|
};
|
|
4528
4871
|
};
|
|
4872
|
+
AppBskyGraphList: {
|
|
4873
|
+
lexicon: number;
|
|
4874
|
+
id: string;
|
|
4875
|
+
defs: {
|
|
4876
|
+
main: {
|
|
4877
|
+
type: string;
|
|
4878
|
+
description: string;
|
|
4879
|
+
key: string;
|
|
4880
|
+
record: {
|
|
4881
|
+
type: string;
|
|
4882
|
+
required: string[];
|
|
4883
|
+
properties: {
|
|
4884
|
+
purpose: {
|
|
4885
|
+
type: string;
|
|
4886
|
+
ref: string;
|
|
4887
|
+
};
|
|
4888
|
+
name: {
|
|
4889
|
+
type: string;
|
|
4890
|
+
maxLength: number;
|
|
4891
|
+
minLength: number;
|
|
4892
|
+
};
|
|
4893
|
+
description: {
|
|
4894
|
+
type: string;
|
|
4895
|
+
maxGraphemes: number;
|
|
4896
|
+
maxLength: number;
|
|
4897
|
+
};
|
|
4898
|
+
descriptionFacets: {
|
|
4899
|
+
type: string;
|
|
4900
|
+
items: {
|
|
4901
|
+
type: string;
|
|
4902
|
+
ref: string;
|
|
4903
|
+
};
|
|
4904
|
+
};
|
|
4905
|
+
avatar: {
|
|
4906
|
+
type: string;
|
|
4907
|
+
accept: string[];
|
|
4908
|
+
maxSize: number;
|
|
4909
|
+
};
|
|
4910
|
+
createdAt: {
|
|
4911
|
+
type: string;
|
|
4912
|
+
format: string;
|
|
4913
|
+
};
|
|
4914
|
+
};
|
|
4915
|
+
};
|
|
4916
|
+
};
|
|
4917
|
+
};
|
|
4918
|
+
};
|
|
4919
|
+
AppBskyGraphListitem: {
|
|
4920
|
+
lexicon: number;
|
|
4921
|
+
id: string;
|
|
4922
|
+
defs: {
|
|
4923
|
+
main: {
|
|
4924
|
+
type: string;
|
|
4925
|
+
description: string;
|
|
4926
|
+
key: string;
|
|
4927
|
+
record: {
|
|
4928
|
+
type: string;
|
|
4929
|
+
required: string[];
|
|
4930
|
+
properties: {
|
|
4931
|
+
subject: {
|
|
4932
|
+
type: string;
|
|
4933
|
+
format: string;
|
|
4934
|
+
};
|
|
4935
|
+
list: {
|
|
4936
|
+
type: string;
|
|
4937
|
+
format: string;
|
|
4938
|
+
};
|
|
4939
|
+
createdAt: {
|
|
4940
|
+
type: string;
|
|
4941
|
+
format: string;
|
|
4942
|
+
};
|
|
4943
|
+
};
|
|
4944
|
+
};
|
|
4945
|
+
};
|
|
4946
|
+
};
|
|
4947
|
+
};
|
|
4529
4948
|
AppBskyGraphMuteActor: {
|
|
4530
4949
|
lexicon: number;
|
|
4531
4950
|
id: string;
|
|
@@ -4549,6 +4968,29 @@ export declare const schemaDict: {
|
|
|
4549
4968
|
};
|
|
4550
4969
|
};
|
|
4551
4970
|
};
|
|
4971
|
+
AppBskyGraphMuteActorList: {
|
|
4972
|
+
lexicon: number;
|
|
4973
|
+
id: string;
|
|
4974
|
+
defs: {
|
|
4975
|
+
main: {
|
|
4976
|
+
type: string;
|
|
4977
|
+
description: string;
|
|
4978
|
+
input: {
|
|
4979
|
+
encoding: string;
|
|
4980
|
+
schema: {
|
|
4981
|
+
type: string;
|
|
4982
|
+
required: string[];
|
|
4983
|
+
properties: {
|
|
4984
|
+
list: {
|
|
4985
|
+
type: string;
|
|
4986
|
+
format: string;
|
|
4987
|
+
};
|
|
4988
|
+
};
|
|
4989
|
+
};
|
|
4990
|
+
};
|
|
4991
|
+
};
|
|
4992
|
+
};
|
|
4993
|
+
};
|
|
4552
4994
|
AppBskyGraphUnmuteActor: {
|
|
4553
4995
|
lexicon: number;
|
|
4554
4996
|
id: string;
|
|
@@ -4572,6 +5014,29 @@ export declare const schemaDict: {
|
|
|
4572
5014
|
};
|
|
4573
5015
|
};
|
|
4574
5016
|
};
|
|
5017
|
+
AppBskyGraphUnmuteActorList: {
|
|
5018
|
+
lexicon: number;
|
|
5019
|
+
id: string;
|
|
5020
|
+
defs: {
|
|
5021
|
+
main: {
|
|
5022
|
+
type: string;
|
|
5023
|
+
description: string;
|
|
5024
|
+
input: {
|
|
5025
|
+
encoding: string;
|
|
5026
|
+
schema: {
|
|
5027
|
+
type: string;
|
|
5028
|
+
required: string[];
|
|
5029
|
+
properties: {
|
|
5030
|
+
list: {
|
|
5031
|
+
type: string;
|
|
5032
|
+
format: string;
|
|
5033
|
+
};
|
|
5034
|
+
};
|
|
5035
|
+
};
|
|
5036
|
+
};
|
|
5037
|
+
};
|
|
5038
|
+
};
|
|
5039
|
+
};
|
|
4575
5040
|
AppBskyNotificationGetUnreadCount: {
|
|
4576
5041
|
lexicon: number;
|
|
4577
5042
|
id: string;
|
|
@@ -4785,6 +5250,10 @@ export declare const schemaDict: {
|
|
|
4785
5250
|
parameters: {
|
|
4786
5251
|
type: string;
|
|
4787
5252
|
properties: {
|
|
5253
|
+
includeNsfw: {
|
|
5254
|
+
type: string;
|
|
5255
|
+
default: boolean;
|
|
5256
|
+
};
|
|
4788
5257
|
limit: {
|
|
4789
5258
|
type: string;
|
|
4790
5259
|
minimum: number;
|
|
@@ -4823,7 +5292,9 @@ export declare const schemas: LexiconDoc[];
|
|
|
4823
5292
|
export declare const lexicons: Lexicons;
|
|
4824
5293
|
export declare const ids: {
|
|
4825
5294
|
ComAtprotoAdminDefs: string;
|
|
5295
|
+
ComAtprotoAdminDisableAccountInvites: string;
|
|
4826
5296
|
ComAtprotoAdminDisableInviteCodes: string;
|
|
5297
|
+
ComAtprotoAdminEnableAccountInvites: string;
|
|
4827
5298
|
ComAtprotoAdminGetInviteCodes: string;
|
|
4828
5299
|
ComAtprotoAdminGetModerationAction: string;
|
|
4829
5300
|
ComAtprotoAdminGetModerationActions: string;
|
|
@@ -4851,6 +5322,7 @@ export declare const ids: {
|
|
|
4851
5322
|
ComAtprotoRepoGetRecord: string;
|
|
4852
5323
|
ComAtprotoRepoListRecords: string;
|
|
4853
5324
|
ComAtprotoRepoPutRecord: string;
|
|
5325
|
+
ComAtprotoRepoRebaseRepo: string;
|
|
4854
5326
|
ComAtprotoRepoStrongRef: string;
|
|
4855
5327
|
ComAtprotoRepoUploadBlob: string;
|
|
4856
5328
|
ComAtprotoServerCreateAccount: string;
|
|
@@ -4904,13 +5376,21 @@ export declare const ids: {
|
|
|
4904
5376
|
AppBskyFeedPost: string;
|
|
4905
5377
|
AppBskyFeedRepost: string;
|
|
4906
5378
|
AppBskyGraphBlock: string;
|
|
5379
|
+
AppBskyGraphDefs: string;
|
|
4907
5380
|
AppBskyGraphFollow: string;
|
|
4908
5381
|
AppBskyGraphGetBlocks: string;
|
|
4909
5382
|
AppBskyGraphGetFollowers: string;
|
|
4910
5383
|
AppBskyGraphGetFollows: string;
|
|
5384
|
+
AppBskyGraphGetList: string;
|
|
5385
|
+
AppBskyGraphGetListMutes: string;
|
|
5386
|
+
AppBskyGraphGetLists: string;
|
|
4911
5387
|
AppBskyGraphGetMutes: string;
|
|
5388
|
+
AppBskyGraphList: string;
|
|
5389
|
+
AppBskyGraphListitem: string;
|
|
4912
5390
|
AppBskyGraphMuteActor: string;
|
|
5391
|
+
AppBskyGraphMuteActorList: string;
|
|
4913
5392
|
AppBskyGraphUnmuteActor: string;
|
|
5393
|
+
AppBskyGraphUnmuteActorList: string;
|
|
4914
5394
|
AppBskyNotificationGetUnreadCount: string;
|
|
4915
5395
|
AppBskyNotificationListNotifications: string;
|
|
4916
5396
|
AppBskyNotificationUpdateSeen: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ValidationResult } from '@atproto/lexicon';
|
|
2
2
|
import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
|
|
3
|
+
import * as AppBskyGraphDefs from '../graph/defs';
|
|
3
4
|
export interface ProfileViewBasic {
|
|
4
5
|
did: string;
|
|
5
6
|
handle: string;
|
|
@@ -43,6 +44,7 @@ export declare function isProfileViewDetailed(v: unknown): v is ProfileViewDetai
|
|
|
43
44
|
export declare function validateProfileViewDetailed(v: unknown): ValidationResult;
|
|
44
45
|
export interface ViewerState {
|
|
45
46
|
muted?: boolean;
|
|
47
|
+
mutedByList?: AppBskyGraphDefs.ListViewBasic;
|
|
46
48
|
blockedBy?: boolean;
|
|
47
49
|
blocking?: string;
|
|
48
50
|
following?: string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
import * as AppBskyActorDefs from './defs';
|
|
3
|
+
export interface QueryParams {
|
|
4
|
+
term?: string;
|
|
5
|
+
limit?: number;
|
|
6
|
+
cursor?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare type InputSchema = undefined;
|
|
9
|
+
export interface OutputSchema {
|
|
10
|
+
cursor?: string;
|
|
11
|
+
actors: AppBskyActorDefs.ProfileViewBasic[];
|
|
12
|
+
[k: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
export interface CallOptions {
|
|
15
|
+
headers?: Headers;
|
|
16
|
+
}
|
|
17
|
+
export interface Response {
|
|
18
|
+
success: boolean;
|
|
19
|
+
headers: Headers;
|
|
20
|
+
data: OutputSchema;
|
|
21
|
+
}
|
|
22
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
import * as AppBskyActorDefs from './defs';
|
|
3
|
+
export interface QueryParams {
|
|
4
|
+
term?: string;
|
|
5
|
+
limit?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare type InputSchema = undefined;
|
|
8
|
+
export interface OutputSchema {
|
|
9
|
+
actors: AppBskyActorDefs.WithInfo[];
|
|
10
|
+
[k: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
export interface CallOptions {
|
|
13
|
+
headers?: Headers;
|
|
14
|
+
}
|
|
15
|
+
export interface Response {
|
|
16
|
+
success: boolean;
|
|
17
|
+
headers: Headers;
|
|
18
|
+
data: OutputSchema;
|
|
19
|
+
}
|
|
20
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
import { BlobRef } from '@atproto/lexicon';
|
|
3
2
|
export interface QueryParams {
|
|
4
3
|
}
|
|
5
4
|
export interface InputSchema {
|
|
6
5
|
displayName?: string;
|
|
7
6
|
description?: string | null;
|
|
8
|
-
avatar?:
|
|
9
|
-
|
|
7
|
+
avatar?: {
|
|
8
|
+
cid: string;
|
|
9
|
+
mimeType: string;
|
|
10
|
+
[k: string]: unknown;
|
|
11
|
+
} | null;
|
|
12
|
+
banner?: {
|
|
13
|
+
cid: string;
|
|
14
|
+
mimeType: string;
|
|
15
|
+
[k: string]: unknown;
|
|
16
|
+
} | null;
|
|
10
17
|
[k: string]: unknown;
|
|
11
18
|
}
|
|
12
19
|
export interface OutputSchema {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
export interface QueryParams {
|
|
3
|
+
}
|
|
4
|
+
export interface InputSchema {
|
|
5
|
+
feed: string;
|
|
6
|
+
[k: string]: unknown;
|
|
7
|
+
}
|
|
8
|
+
export interface CallOptions {
|
|
9
|
+
headers?: Headers;
|
|
10
|
+
qp?: QueryParams;
|
|
11
|
+
encoding: 'application/json';
|
|
12
|
+
}
|
|
13
|
+
export interface Response {
|
|
14
|
+
success: boolean;
|
|
15
|
+
headers: Headers;
|
|
16
|
+
}
|
|
17
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ValidationResult, BlobRef } from '@atproto/lexicon';
|
|
2
|
+
import * as AppBskyRichtextFacet from '../richtext/facet';
|
|
3
|
+
export interface Record {
|
|
4
|
+
did: string;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
descriptionFacets?: AppBskyRichtextFacet.Main[];
|
|
8
|
+
avatar?: BlobRef;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
[k: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
export declare function isRecord(v: unknown): v is Record;
|
|
13
|
+
export declare function validateRecord(v: unknown): ValidationResult;
|