@atproto/api 0.14.0-next.3 → 0.14.0-next.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/README.md +1 -1
- package/dist/agent.d.ts +4 -0
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +10 -9
- package/dist/agent.js.map +1 -1
- package/dist/atp-agent.d.ts.map +1 -1
- package/dist/atp-agent.js +1 -0
- package/dist/atp-agent.js.map +1 -1
- package/dist/client/index.d.ts +457 -426
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +344 -281
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +310 -10
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +167 -6
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +3 -3
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/getPreferences.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/getPreferences.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/getProfile.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/getProfiles.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/getProfiles.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +3 -1
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/getSuggestions.js.map +1 -1
- package/dist/client/types/app/bsky/actor/profile.d.ts +2 -2
- package/dist/client/types/app/bsky/actor/profile.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/putPreferences.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/putPreferences.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/searchActors.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/searchActors.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/images.d.ts +1 -1
- package/dist/client/types/app/bsky/embed/images.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/record.d.ts +10 -10
- package/dist/client/types/app/bsky/embed/record.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/recordWithMedia.d.ts +4 -4
- package/dist/client/types/app/bsky/embed/recordWithMedia.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/video.d.ts +1 -1
- package/dist/client/types/app/bsky/embed/video.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts +22 -9
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.js +14 -1
- package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/client/types/app/bsky/feed/detach.d.ts +15 -0
- package/dist/client/types/app/bsky/feed/detach.d.ts.map +1 -0
- package/dist/client/types/app/bsky/feed/detach.js +17 -0
- package/dist/client/types/app/bsky/feed/detach.js.map +1 -0
- package/dist/client/types/app/bsky/feed/generator.d.ts +3 -2
- package/dist/client/types/app/bsky/feed/generator.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/generator.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getActorLikes.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getActorLikes.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getAuthorFeed.d.ts +2 -2
- package/dist/client/types/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getAuthorFeed.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getFeed.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getFeed.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerator.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerator.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerators.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerators.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getLikes.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getLikes.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getListFeed.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getListFeed.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getPostThread.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getPostThread.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getPosts.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getPosts.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getQuotes.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getQuotes.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getSuggestedFeeds.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getSuggestedFeeds.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/getTimeline.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/getTimeline.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/like.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/like.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/post.d.ts +8 -8
- package/dist/client/types/app/bsky/feed/post.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/repost.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/repost.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/searchPosts.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/searchPosts.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/sendInteractions.d.ts +1 -1
- package/dist/client/types/app/bsky/feed/sendInteractions.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/defs.d.ts +4 -4
- package/dist/client/types/app/bsky/graph/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getActorStarterPacks.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getBlocks.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getBlocks.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getFollowers.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getFollowers.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getFollows.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getKnownFollowers.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getKnownFollowers.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getList.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getList.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getListBlocks.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getListBlocks.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getListMutes.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getListMutes.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getLists.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getLists.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getMutes.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getMutes.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getRelationships.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getRelationships.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getStarterPack.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getStarterPack.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getStarterPacks.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +3 -1
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
- package/dist/client/types/app/bsky/graph/getVouchesAccepted.d.ts +28 -0
- package/dist/client/types/app/bsky/graph/getVouchesAccepted.d.ts.map +1 -0
- package/dist/client/types/app/bsky/graph/getVouchesAccepted.js +7 -0
- package/dist/client/types/app/bsky/graph/getVouchesAccepted.js.map +1 -0
- package/dist/client/types/app/bsky/graph/getVouchesGiven.d.ts +37 -0
- package/dist/client/types/app/bsky/graph/getVouchesGiven.d.ts.map +1 -0
- package/dist/client/types/app/bsky/graph/getVouchesGiven.js +19 -0
- package/dist/client/types/app/bsky/graph/getVouchesGiven.js.map +1 -0
- package/dist/client/types/app/bsky/graph/getVouchesOffered.d.ts +26 -0
- package/dist/client/types/app/bsky/graph/getVouchesOffered.d.ts.map +1 -0
- package/dist/client/types/app/bsky/graph/getVouchesOffered.js +7 -0
- package/dist/client/types/app/bsky/graph/getVouchesOffered.js.map +1 -0
- package/dist/client/types/app/bsky/graph/getVouchesPending.d.ts +26 -0
- package/dist/client/types/app/bsky/graph/getVouchesPending.d.ts.map +1 -0
- package/dist/client/types/app/bsky/graph/getVouchesPending.js +7 -0
- package/dist/client/types/app/bsky/graph/getVouchesPending.js.map +1 -0
- package/dist/client/types/app/bsky/graph/getVouchesReceived.d.ts +27 -0
- package/dist/client/types/app/bsky/graph/getVouchesReceived.d.ts.map +1 -0
- package/dist/client/types/app/bsky/graph/getVouchesReceived.js +7 -0
- package/dist/client/types/app/bsky/graph/getVouchesReceived.js.map +1 -0
- package/dist/client/types/app/bsky/graph/list.d.ts +3 -3
- package/dist/client/types/app/bsky/graph/list.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/searchStarterPacks.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/searchStarterPacks.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/starterpack.d.ts +1 -1
- package/dist/client/types/app/bsky/graph/starterpack.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/vouch.d.ts +13 -0
- package/dist/client/types/app/bsky/graph/vouch.d.ts.map +1 -0
- package/dist/client/types/app/bsky/graph/vouch.js +16 -0
- package/dist/client/types/app/bsky/graph/vouch.js.map +1 -0
- package/dist/client/types/app/bsky/graph/vouchaccept.d.ts +13 -0
- package/dist/client/types/app/bsky/graph/vouchaccept.d.ts.map +1 -0
- package/dist/client/types/app/bsky/graph/vouchaccept.js +16 -0
- package/dist/client/types/app/bsky/graph/vouchaccept.js.map +1 -0
- package/dist/client/types/app/bsky/labeler/defs.d.ts +2 -2
- package/dist/client/types/app/bsky/labeler/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/labeler/getServices.d.ts +1 -1
- package/dist/client/types/app/bsky/labeler/getServices.d.ts.map +1 -1
- package/dist/client/types/app/bsky/labeler/service.d.ts +2 -2
- package/dist/client/types/app/bsky/labeler/service.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +2 -2
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +3 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getTrendingTopics.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/getTrendingTopics.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/video/getJobStatus.d.ts +1 -1
- package/dist/client/types/app/bsky/video/getJobStatus.d.ts.map +1 -1
- package/dist/client/types/app/bsky/video/uploadVideo.d.ts +1 -1
- package/dist/client/types/app/bsky/video/uploadVideo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/actor/defs.d.ts +2 -2
- package/dist/client/types/chat/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts +3 -3
- package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/deleteMessageForSelf.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/deleteMessageForSelf.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getConvo.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/getConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getLog.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/getLog.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getMessages.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/getMessages.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/listConvos.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/listConvos.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/muteConvo.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/muteConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/sendMessage.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/sendMessage.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/sendMessageBatch.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/sendMessageBatch.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/unmuteConvo.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/unmuteConvo.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/updateRead.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/updateRead.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts +1 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/defs.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/defs.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/getAccountInfo.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/getAccountInfos.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/getAccountInfos.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/getInviteCodes.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/getInviteCodes.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/getSubjectStatus.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/getSubjectStatus.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/searchAccounts.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/searchAccounts.d.ts.map +1 -1
- package/dist/client/types/com/atproto/admin/updateSubjectStatus.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/updateSubjectStatus.d.ts.map +1 -1
- package/dist/client/types/com/atproto/label/queryLabels.d.ts +1 -1
- package/dist/client/types/com/atproto/label/queryLabels.d.ts.map +1 -1
- package/dist/client/types/com/atproto/label/subscribeLabels.d.ts +1 -1
- package/dist/client/types/com/atproto/label/subscribeLabels.d.ts.map +1 -1
- package/dist/client/types/com/atproto/lexicon/schema.d.ts +14 -0
- package/dist/client/types/com/atproto/lexicon/schema.d.ts.map +1 -0
- package/dist/client/types/com/atproto/lexicon/schema.js +16 -0
- package/dist/client/types/com/atproto/lexicon/schema.js.map +1 -0
- package/dist/client/types/com/atproto/moderation/createReport.d.ts +3 -3
- package/dist/client/types/com/atproto/moderation/createReport.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/applyWrites.d.ts +1 -1
- package/dist/client/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/createRecord.d.ts +1 -1
- package/dist/client/types/com/atproto/repo/createRecord.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/deleteRecord.d.ts +1 -1
- package/dist/client/types/com/atproto/repo/deleteRecord.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/putRecord.d.ts +1 -1
- package/dist/client/types/com/atproto/repo/putRecord.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/getAccountInviteCodes.d.ts +1 -1
- package/dist/client/types/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
- package/dist/client/types/com/atproto/temp/fetchLabels.d.ts +1 -1
- package/dist/client/types/com/atproto/temp/fetchLabels.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/communication/createTemplate.d.ts +1 -1
- package/dist/client/types/tools/ozone/communication/createTemplate.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/communication/listTemplates.d.ts +1 -1
- package/dist/client/types/tools/ozone/communication/listTemplates.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/communication/updateTemplate.d.ts +1 -1
- package/dist/client/types/tools/ozone/communication/updateTemplate.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.d.ts +48 -6
- package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.js +18 -0
- package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts +3 -3
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/getEvent.d.ts +1 -1
- package/dist/client/types/tools/ozone/moderation/getEvent.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/getRecord.d.ts +1 -1
- package/dist/client/types/tools/ozone/moderation/getRecord.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/getRecords.d.ts +1 -1
- package/dist/client/types/tools/ozone/moderation/getRecords.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/getRepo.d.ts +1 -1
- package/dist/client/types/tools/ozone/moderation/getRepo.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/getRepos.d.ts +1 -1
- package/dist/client/types/tools/ozone/moderation/getRepos.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts +1 -1
- package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +8 -2
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/searchRepos.d.ts +1 -1
- package/dist/client/types/tools/ozone/moderation/searchRepos.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/set/getValues.d.ts +1 -1
- package/dist/client/types/tools/ozone/set/getValues.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/set/querySets.d.ts +1 -1
- package/dist/client/types/tools/ozone/set/querySets.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/set/upsertSet.d.ts +1 -1
- package/dist/client/types/tools/ozone/set/upsertSet.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/setting/listOptions.d.ts +1 -1
- package/dist/client/types/tools/ozone/setting/listOptions.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/setting/upsertOption.d.ts +1 -1
- package/dist/client/types/tools/ozone/setting/upsertOption.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/signature/findCorrelation.d.ts +1 -1
- package/dist/client/types/tools/ozone/signature/findCorrelation.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/signature/findRelatedAccounts.d.ts +2 -2
- package/dist/client/types/tools/ozone/signature/findRelatedAccounts.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/signature/searchAccounts.d.ts +1 -1
- package/dist/client/types/tools/ozone/signature/searchAccounts.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/team/addMember.d.ts +1 -1
- package/dist/client/types/tools/ozone/team/addMember.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/team/defs.d.ts +1 -1
- package/dist/client/types/tools/ozone/team/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/team/listMembers.d.ts +1 -1
- package/dist/client/types/tools/ozone/team/listMembers.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/team/updateMember.d.ts +1 -1
- package/dist/client/types/tools/ozone/team/updateMember.d.ts.map +1 -1
- package/dist/client/util.d.ts.map +1 -1
- package/dist/client/util.js +6 -1
- package/dist/client/util.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/mocker.d.ts +1 -1
- package/dist/mocker.d.ts.map +1 -1
- package/dist/moderation/decision.d.ts +1 -1
- package/dist/moderation/decision.d.ts.map +1 -1
- package/dist/moderation/decision.js +1 -1
- package/dist/moderation/decision.js.map +1 -1
- package/dist/moderation/index.d.ts +1 -1
- package/dist/moderation/index.d.ts.map +1 -1
- package/dist/moderation/index.js +3 -3
- package/dist/moderation/index.js.map +1 -1
- package/dist/moderation/subjects/account.d.ts +1 -1
- package/dist/moderation/subjects/account.d.ts.map +1 -1
- package/dist/moderation/subjects/feed-generator.d.ts +1 -1
- package/dist/moderation/subjects/feed-generator.d.ts.map +1 -1
- package/dist/moderation/subjects/notification.d.ts +1 -1
- package/dist/moderation/subjects/notification.d.ts.map +1 -1
- package/dist/moderation/subjects/post.d.ts +1 -1
- package/dist/moderation/subjects/post.d.ts.map +1 -1
- package/dist/moderation/subjects/post.js +1 -1
- package/dist/moderation/subjects/post.js.map +1 -1
- package/dist/moderation/subjects/profile.d.ts +1 -1
- package/dist/moderation/subjects/profile.d.ts.map +1 -1
- package/dist/moderation/subjects/user-list.d.ts +1 -1
- package/dist/moderation/subjects/user-list.d.ts.map +1 -1
- package/dist/moderation/types.d.ts +1 -1
- package/dist/moderation/types.d.ts.map +1 -1
- package/dist/rich-text/rich-text.d.ts.map +1 -1
- package/dist/rich-text/rich-text.js +2 -2
- package/dist/rich-text/rich-text.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/util.d.ts +8 -8
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js +7 -10
- package/dist/util.js.map +1 -1
- package/jest.config.js +1 -0
- package/package.json +4 -4
- package/src/agent.ts +17 -16
- package/src/atp-agent.ts +1 -0
- package/src/client/index.ts +538 -457
- package/src/client/lexicons.ts +183 -25
- package/src/client/types/app/bsky/actor/defs.ts +3 -3
- package/src/client/types/app/bsky/actor/getPreferences.ts +1 -1
- package/src/client/types/app/bsky/actor/getProfile.ts +1 -1
- package/src/client/types/app/bsky/actor/getProfiles.ts +1 -1
- package/src/client/types/app/bsky/actor/getSuggestions.ts +3 -1
- package/src/client/types/app/bsky/actor/profile.ts +2 -2
- package/src/client/types/app/bsky/actor/putPreferences.ts +1 -1
- package/src/client/types/app/bsky/actor/searchActors.ts +1 -1
- package/src/client/types/app/bsky/actor/searchActorsTypeahead.ts +1 -1
- package/src/client/types/app/bsky/embed/images.ts +1 -1
- package/src/client/types/app/bsky/embed/record.ts +10 -10
- package/src/client/types/app/bsky/embed/recordWithMedia.ts +4 -4
- package/src/client/types/app/bsky/embed/video.ts +1 -1
- package/src/client/types/app/bsky/feed/defs.ts +34 -9
- package/src/client/types/app/bsky/feed/generator.ts +6 -2
- package/src/client/types/app/bsky/feed/getActorFeeds.ts +1 -1
- package/src/client/types/app/bsky/feed/getActorLikes.ts +1 -1
- package/src/client/types/app/bsky/feed/getAuthorFeed.ts +2 -1
- package/src/client/types/app/bsky/feed/getFeed.ts +1 -1
- package/src/client/types/app/bsky/feed/getFeedGenerator.ts +1 -1
- package/src/client/types/app/bsky/feed/getFeedGenerators.ts +1 -1
- package/src/client/types/app/bsky/feed/getFeedSkeleton.ts +1 -1
- package/src/client/types/app/bsky/feed/getLikes.ts +1 -1
- package/src/client/types/app/bsky/feed/getListFeed.ts +1 -1
- package/src/client/types/app/bsky/feed/getPostThread.ts +1 -1
- package/src/client/types/app/bsky/feed/getPosts.ts +1 -1
- package/src/client/types/app/bsky/feed/getQuotes.ts +1 -1
- package/src/client/types/app/bsky/feed/getRepostedBy.ts +1 -1
- package/src/client/types/app/bsky/feed/getSuggestedFeeds.ts +1 -1
- package/src/client/types/app/bsky/feed/getTimeline.ts +1 -1
- package/src/client/types/app/bsky/feed/like.ts +1 -1
- package/src/client/types/app/bsky/feed/post.ts +8 -8
- package/src/client/types/app/bsky/feed/repost.ts +1 -1
- package/src/client/types/app/bsky/feed/searchPosts.ts +1 -1
- package/src/client/types/app/bsky/feed/sendInteractions.ts +1 -1
- package/src/client/types/app/bsky/graph/defs.ts +4 -4
- package/src/client/types/app/bsky/graph/getActorStarterPacks.ts +1 -1
- package/src/client/types/app/bsky/graph/getBlocks.ts +1 -1
- package/src/client/types/app/bsky/graph/getFollowers.ts +1 -1
- package/src/client/types/app/bsky/graph/getFollows.ts +1 -1
- package/src/client/types/app/bsky/graph/getKnownFollowers.ts +1 -1
- package/src/client/types/app/bsky/graph/getList.ts +1 -1
- package/src/client/types/app/bsky/graph/getListBlocks.ts +1 -1
- package/src/client/types/app/bsky/graph/getListMutes.ts +1 -1
- package/src/client/types/app/bsky/graph/getLists.ts +1 -1
- package/src/client/types/app/bsky/graph/getMutes.ts +1 -1
- package/src/client/types/app/bsky/graph/getRelationships.ts +1 -1
- package/src/client/types/app/bsky/graph/getStarterPack.ts +1 -1
- package/src/client/types/app/bsky/graph/getStarterPacks.ts +1 -1
- package/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts +3 -1
- package/src/client/types/app/bsky/graph/list.ts +3 -3
- package/src/client/types/app/bsky/graph/searchStarterPacks.ts +1 -1
- package/src/client/types/app/bsky/graph/starterpack.ts +1 -1
- package/src/client/types/app/bsky/labeler/defs.ts +2 -2
- package/src/client/types/app/bsky/labeler/getServices.ts +1 -1
- package/src/client/types/app/bsky/labeler/service.ts +2 -2
- package/src/client/types/app/bsky/notification/listNotifications.ts +2 -2
- package/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts +1 -1
- package/src/client/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +3 -1
- package/src/client/types/app/bsky/unspecced/getTrendingTopics.ts +1 -1
- package/src/client/types/app/bsky/unspecced/searchActorsSkeleton.ts +1 -1
- package/src/client/types/app/bsky/unspecced/searchPostsSkeleton.ts +1 -1
- package/src/client/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +1 -1
- package/src/client/types/app/bsky/video/getJobStatus.ts +1 -1
- package/src/client/types/app/bsky/video/uploadVideo.ts +1 -1
- package/src/client/types/chat/bsky/actor/defs.ts +2 -2
- package/src/client/types/chat/bsky/convo/defs.ts +3 -3
- package/src/client/types/chat/bsky/convo/deleteMessageForSelf.ts +1 -1
- package/src/client/types/chat/bsky/convo/getConvo.ts +1 -1
- package/src/client/types/chat/bsky/convo/getConvoForMembers.ts +1 -1
- package/src/client/types/chat/bsky/convo/getLog.ts +1 -1
- package/src/client/types/chat/bsky/convo/getMessages.ts +1 -1
- package/src/client/types/chat/bsky/convo/listConvos.ts +1 -1
- package/src/client/types/chat/bsky/convo/muteConvo.ts +1 -1
- package/src/client/types/chat/bsky/convo/sendMessage.ts +1 -1
- package/src/client/types/chat/bsky/convo/sendMessageBatch.ts +1 -1
- package/src/client/types/chat/bsky/convo/unmuteConvo.ts +1 -1
- package/src/client/types/chat/bsky/convo/updateRead.ts +1 -1
- package/src/client/types/chat/bsky/moderation/getMessageContext.ts +1 -1
- package/src/client/types/com/atproto/admin/defs.ts +1 -1
- package/src/client/types/com/atproto/admin/getAccountInfo.ts +1 -1
- package/src/client/types/com/atproto/admin/getAccountInfos.ts +1 -1
- package/src/client/types/com/atproto/admin/getInviteCodes.ts +1 -1
- package/src/client/types/com/atproto/admin/getSubjectStatus.ts +2 -2
- package/src/client/types/com/atproto/admin/searchAccounts.ts +1 -1
- package/src/client/types/com/atproto/admin/updateSubjectStatus.ts +2 -2
- package/src/client/types/com/atproto/label/queryLabels.ts +1 -1
- package/src/client/types/com/atproto/label/subscribeLabels.ts +1 -1
- package/src/client/types/com/atproto/lexicon/schema.ts +28 -0
- package/src/client/types/com/atproto/moderation/createReport.ts +3 -3
- package/src/client/types/com/atproto/repo/applyWrites.ts +1 -1
- package/src/client/types/com/atproto/repo/createRecord.ts +1 -1
- package/src/client/types/com/atproto/repo/deleteRecord.ts +1 -1
- package/src/client/types/com/atproto/repo/putRecord.ts +1 -1
- package/src/client/types/com/atproto/server/getAccountInviteCodes.ts +1 -1
- package/src/client/types/com/atproto/temp/fetchLabels.ts +1 -1
- package/src/client/types/tools/ozone/communication/createTemplate.ts +1 -1
- package/src/client/types/tools/ozone/communication/listTemplates.ts +1 -1
- package/src/client/types/tools/ozone/communication/updateTemplate.ts +1 -1
- package/src/client/types/tools/ozone/moderation/defs.ts +66 -6
- package/src/client/types/tools/ozone/moderation/emitEvent.ts +3 -3
- package/src/client/types/tools/ozone/moderation/getEvent.ts +1 -1
- package/src/client/types/tools/ozone/moderation/getRecord.ts +1 -1
- package/src/client/types/tools/ozone/moderation/getRecords.ts +1 -1
- package/src/client/types/tools/ozone/moderation/getRepo.ts +1 -1
- package/src/client/types/tools/ozone/moderation/getRepos.ts +1 -1
- package/src/client/types/tools/ozone/moderation/queryEvents.ts +1 -1
- package/src/client/types/tools/ozone/moderation/queryStatuses.ts +12 -2
- package/src/client/types/tools/ozone/moderation/searchRepos.ts +1 -1
- package/src/client/types/tools/ozone/set/getValues.ts +1 -1
- package/src/client/types/tools/ozone/set/querySets.ts +1 -1
- package/src/client/types/tools/ozone/set/upsertSet.ts +1 -1
- package/src/client/types/tools/ozone/setting/listOptions.ts +1 -1
- package/src/client/types/tools/ozone/setting/upsertOption.ts +1 -1
- package/src/client/types/tools/ozone/signature/findCorrelation.ts +1 -1
- package/src/client/types/tools/ozone/signature/findRelatedAccounts.ts +2 -2
- package/src/client/types/tools/ozone/signature/searchAccounts.ts +1 -1
- package/src/client/types/tools/ozone/team/addMember.ts +1 -1
- package/src/client/types/tools/ozone/team/defs.ts +1 -1
- package/src/client/types/tools/ozone/team/listMembers.ts +1 -1
- package/src/client/types/tools/ozone/team/updateMember.ts +1 -1
- package/src/client/util.ts +4 -1
- package/src/index.ts +3 -3
- package/src/mocker.ts +3 -3
- package/src/moderation/decision.ts +7 -7
- package/src/moderation/index.ts +11 -11
- package/src/moderation/subjects/account.ts +1 -1
- package/src/moderation/subjects/feed-generator.ts +1 -1
- package/src/moderation/subjects/notification.ts +1 -1
- package/src/moderation/subjects/post.ts +6 -6
- package/src/moderation/subjects/profile.ts +1 -1
- package/src/moderation/subjects/user-list.ts +1 -1
- package/src/moderation/types.ts +2 -2
- package/src/moderation/util.ts +1 -1
- package/src/rich-text/detection.ts +1 -1
- package/src/rich-text/rich-text.ts +2 -2
- package/src/types.ts +1 -0
- package/src/util.ts +8 -9
- package/tests/atp-agent.test.ts +2 -2
- package/tests/dispatcher.test.ts +4 -4
- package/tests/errors.test.ts +1 -1
- package/tests/moderation-behaviors.test.ts +3 -3
- package/tests/moderation-custom-labels.test.ts +4 -4
- package/tests/moderation-mutewords.test.ts +0 -1
- package/tests/moderation-quoteposts.test.ts +3 -3
- package/tests/moderation.test.ts +4 -4
- package/tests/rich-text-sanitization.test.ts +1 -1
- package/tests/util/moderation-behavior.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.tests.tsbuildinfo +1 -0
- package/bench/agent.bench.ts +0 -9
package/src/client/lexicons.ts
CHANGED
|
@@ -1128,6 +1128,29 @@ export const schemaDict = {
|
|
|
1128
1128
|
},
|
|
1129
1129
|
},
|
|
1130
1130
|
},
|
|
1131
|
+
ComAtprotoLexiconSchema: {
|
|
1132
|
+
lexicon: 1,
|
|
1133
|
+
id: 'com.atproto.lexicon.schema',
|
|
1134
|
+
defs: {
|
|
1135
|
+
main: {
|
|
1136
|
+
type: 'record',
|
|
1137
|
+
description:
|
|
1138
|
+
"Representation of Lexicon schemas themselves, when published as atproto records. Note that the schema language is not defined in Lexicon; this meta schema currently only includes a single version field ('lexicon'). See the atproto specifications for description of the other expected top-level fields ('id', 'defs', etc).",
|
|
1139
|
+
key: 'nsid',
|
|
1140
|
+
record: {
|
|
1141
|
+
type: 'object',
|
|
1142
|
+
required: ['lexicon'],
|
|
1143
|
+
properties: {
|
|
1144
|
+
lexicon: {
|
|
1145
|
+
type: 'integer',
|
|
1146
|
+
description:
|
|
1147
|
+
"Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema system.",
|
|
1148
|
+
},
|
|
1149
|
+
},
|
|
1150
|
+
},
|
|
1151
|
+
},
|
|
1152
|
+
},
|
|
1153
|
+
},
|
|
1131
1154
|
ComAtprotoModerationCreateReport: {
|
|
1132
1155
|
lexicon: 1,
|
|
1133
1156
|
id: 'com.atproto.moderation.createReport',
|
|
@@ -4834,6 +4857,11 @@ export const schemaDict = {
|
|
|
4834
4857
|
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
4835
4858
|
},
|
|
4836
4859
|
},
|
|
4860
|
+
recId: {
|
|
4861
|
+
type: 'integer',
|
|
4862
|
+
description:
|
|
4863
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
4864
|
+
},
|
|
4837
4865
|
},
|
|
4838
4866
|
},
|
|
4839
4867
|
},
|
|
@@ -5551,6 +5579,17 @@ export const schemaDict = {
|
|
|
5551
5579
|
},
|
|
5552
5580
|
},
|
|
5553
5581
|
},
|
|
5582
|
+
threadContext: {
|
|
5583
|
+
type: 'object',
|
|
5584
|
+
description:
|
|
5585
|
+
'Metadata about this post within the context of the thread it is in.',
|
|
5586
|
+
properties: {
|
|
5587
|
+
rootAuthorLike: {
|
|
5588
|
+
type: 'string',
|
|
5589
|
+
format: 'at-uri',
|
|
5590
|
+
},
|
|
5591
|
+
},
|
|
5592
|
+
},
|
|
5554
5593
|
feedViewPost: {
|
|
5555
5594
|
type: 'object',
|
|
5556
5595
|
required: ['post'],
|
|
@@ -5651,6 +5690,10 @@ export const schemaDict = {
|
|
|
5651
5690
|
],
|
|
5652
5691
|
},
|
|
5653
5692
|
},
|
|
5693
|
+
threadContext: {
|
|
5694
|
+
type: 'ref',
|
|
5695
|
+
ref: 'lex:app.bsky.feed.defs#threadContext',
|
|
5696
|
+
},
|
|
5654
5697
|
},
|
|
5655
5698
|
},
|
|
5656
5699
|
notFoundPost: {
|
|
@@ -5756,6 +5799,13 @@ export const schemaDict = {
|
|
|
5756
5799
|
type: 'ref',
|
|
5757
5800
|
ref: 'lex:app.bsky.feed.defs#generatorViewerState',
|
|
5758
5801
|
},
|
|
5802
|
+
contentMode: {
|
|
5803
|
+
type: 'string',
|
|
5804
|
+
knownValues: [
|
|
5805
|
+
'app.bsky.feed.defs#contentModeUnspecified',
|
|
5806
|
+
'app.bsky.feed.defs#contentModeVideo',
|
|
5807
|
+
],
|
|
5808
|
+
},
|
|
5759
5809
|
indexedAt: {
|
|
5760
5810
|
type: 'string',
|
|
5761
5811
|
format: 'datetime',
|
|
@@ -5890,6 +5940,15 @@ export const schemaDict = {
|
|
|
5890
5940
|
description:
|
|
5891
5941
|
'User clicked through to the embedded content of the feed item',
|
|
5892
5942
|
},
|
|
5943
|
+
contentModeUnspecified: {
|
|
5944
|
+
type: 'token',
|
|
5945
|
+
description: 'Declares the feed generator returns any types of posts.',
|
|
5946
|
+
},
|
|
5947
|
+
contentModeVideo: {
|
|
5948
|
+
type: 'token',
|
|
5949
|
+
description:
|
|
5950
|
+
'Declares the feed generator returns posts containing app.bsky.embed.video embeds.',
|
|
5951
|
+
},
|
|
5893
5952
|
interactionSeen: {
|
|
5894
5953
|
type: 'token',
|
|
5895
5954
|
description: 'Feed item was seen by user',
|
|
@@ -6021,6 +6080,13 @@ export const schemaDict = {
|
|
|
6021
6080
|
description: 'Self-label values',
|
|
6022
6081
|
refs: ['lex:com.atproto.label.defs#selfLabels'],
|
|
6023
6082
|
},
|
|
6083
|
+
contentMode: {
|
|
6084
|
+
type: 'string',
|
|
6085
|
+
knownValues: [
|
|
6086
|
+
'app.bsky.feed.defs#contentModeUnspecified',
|
|
6087
|
+
'app.bsky.feed.defs#contentModeVideo',
|
|
6088
|
+
],
|
|
6089
|
+
},
|
|
6024
6090
|
createdAt: {
|
|
6025
6091
|
type: 'string',
|
|
6026
6092
|
format: 'datetime',
|
|
@@ -6170,6 +6236,7 @@ export const schemaDict = {
|
|
|
6170
6236
|
'posts_no_replies',
|
|
6171
6237
|
'posts_with_media',
|
|
6172
6238
|
'posts_and_author_threads',
|
|
6239
|
+
'posts_with_video',
|
|
6173
6240
|
],
|
|
6174
6241
|
default: 'posts_with_replies',
|
|
6175
6242
|
},
|
|
@@ -8341,6 +8408,11 @@ export const schemaDict = {
|
|
|
8341
8408
|
'If true, response has fallen-back to generic results, and is not scoped using relativeToDid',
|
|
8342
8409
|
default: false,
|
|
8343
8410
|
},
|
|
8411
|
+
recId: {
|
|
8412
|
+
type: 'integer',
|
|
8413
|
+
description:
|
|
8414
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
8415
|
+
},
|
|
8344
8416
|
},
|
|
8345
8417
|
},
|
|
8346
8418
|
},
|
|
@@ -9412,6 +9484,11 @@ export const schemaDict = {
|
|
|
9412
9484
|
description:
|
|
9413
9485
|
'DID of the account these suggestions are relative to. If this is returned undefined, suggestions are based on the viewer.',
|
|
9414
9486
|
},
|
|
9487
|
+
recId: {
|
|
9488
|
+
type: 'integer',
|
|
9489
|
+
description:
|
|
9490
|
+
'Snowflake for this recommendation, use when submitting recommendation events.',
|
|
9491
|
+
},
|
|
9415
9492
|
},
|
|
9416
9493
|
},
|
|
9417
9494
|
},
|
|
@@ -11267,6 +11344,85 @@ export const schemaDict = {
|
|
|
11267
11344
|
type: 'string',
|
|
11268
11345
|
},
|
|
11269
11346
|
},
|
|
11347
|
+
accountStats: {
|
|
11348
|
+
description: 'Statistics related to the account subject',
|
|
11349
|
+
type: 'ref',
|
|
11350
|
+
ref: 'lex:tools.ozone.moderation.defs#accountStats',
|
|
11351
|
+
},
|
|
11352
|
+
recordsStats: {
|
|
11353
|
+
description:
|
|
11354
|
+
"Statistics related to the record subjects authored by the subject's account",
|
|
11355
|
+
type: 'ref',
|
|
11356
|
+
ref: 'lex:tools.ozone.moderation.defs#recordsStats',
|
|
11357
|
+
},
|
|
11358
|
+
},
|
|
11359
|
+
},
|
|
11360
|
+
accountStats: {
|
|
11361
|
+
description: 'Statistics about a particular account subject',
|
|
11362
|
+
type: 'object',
|
|
11363
|
+
properties: {
|
|
11364
|
+
reportCount: {
|
|
11365
|
+
description: 'Total number of reports on the account',
|
|
11366
|
+
type: 'integer',
|
|
11367
|
+
},
|
|
11368
|
+
appealCount: {
|
|
11369
|
+
description:
|
|
11370
|
+
'Total number of appeals against a moderation action on the account',
|
|
11371
|
+
type: 'integer',
|
|
11372
|
+
},
|
|
11373
|
+
suspendCount: {
|
|
11374
|
+
description: 'Number of times the account was suspended',
|
|
11375
|
+
type: 'integer',
|
|
11376
|
+
},
|
|
11377
|
+
escalateCount: {
|
|
11378
|
+
description: 'Number of times the account was escalated',
|
|
11379
|
+
type: 'integer',
|
|
11380
|
+
},
|
|
11381
|
+
takedownCount: {
|
|
11382
|
+
description: 'Number of times the account was taken down',
|
|
11383
|
+
type: 'integer',
|
|
11384
|
+
},
|
|
11385
|
+
},
|
|
11386
|
+
},
|
|
11387
|
+
recordsStats: {
|
|
11388
|
+
description: 'Statistics about a set of record subject items',
|
|
11389
|
+
type: 'object',
|
|
11390
|
+
properties: {
|
|
11391
|
+
totalReports: {
|
|
11392
|
+
description:
|
|
11393
|
+
'Cumulative sum of the number of reports on the items in the set',
|
|
11394
|
+
type: 'integer',
|
|
11395
|
+
},
|
|
11396
|
+
reportedCount: {
|
|
11397
|
+
description: 'Number of items that were reported at least once',
|
|
11398
|
+
type: 'integer',
|
|
11399
|
+
},
|
|
11400
|
+
escalatedCount: {
|
|
11401
|
+
description: 'Number of items that were escalated at least once',
|
|
11402
|
+
type: 'integer',
|
|
11403
|
+
},
|
|
11404
|
+
appealedCount: {
|
|
11405
|
+
description: 'Number of items that were appealed at least once',
|
|
11406
|
+
type: 'integer',
|
|
11407
|
+
},
|
|
11408
|
+
subjectCount: {
|
|
11409
|
+
description: 'Total number of item in the set',
|
|
11410
|
+
type: 'integer',
|
|
11411
|
+
},
|
|
11412
|
+
pendingCount: {
|
|
11413
|
+
description:
|
|
11414
|
+
'Number of item currently in "reviewOpen" or "reviewEscalated" state',
|
|
11415
|
+
type: 'integer',
|
|
11416
|
+
},
|
|
11417
|
+
processedCount: {
|
|
11418
|
+
description:
|
|
11419
|
+
'Number of item currently in "reviewNone" or "reviewClosed" state',
|
|
11420
|
+
type: 'integer',
|
|
11421
|
+
},
|
|
11422
|
+
takendownCount: {
|
|
11423
|
+
description: 'Number of item currently taken down',
|
|
11424
|
+
type: 'integer',
|
|
11425
|
+
},
|
|
11270
11426
|
},
|
|
11271
11427
|
},
|
|
11272
11428
|
subjectReviewState: {
|
|
@@ -11399,6 +11555,11 @@ export const schemaDict = {
|
|
|
11399
11555
|
type: 'string',
|
|
11400
11556
|
},
|
|
11401
11557
|
},
|
|
11558
|
+
durationInHours: {
|
|
11559
|
+
type: 'integer',
|
|
11560
|
+
description:
|
|
11561
|
+
'Indicates how long the label will remain on the subject. Only applies on labels that are being added.',
|
|
11562
|
+
},
|
|
11402
11563
|
},
|
|
11403
11564
|
},
|
|
11404
11565
|
modEventAcknowledge: {
|
|
@@ -12515,7 +12676,12 @@ export const schemaDict = {
|
|
|
12515
12676
|
sortField: {
|
|
12516
12677
|
type: 'string',
|
|
12517
12678
|
default: 'lastReportedAt',
|
|
12518
|
-
enum: [
|
|
12679
|
+
enum: [
|
|
12680
|
+
'lastReviewedAt',
|
|
12681
|
+
'lastReportedAt',
|
|
12682
|
+
'reportedRecordsCount',
|
|
12683
|
+
'takendownRecordsCount',
|
|
12684
|
+
],
|
|
12519
12685
|
},
|
|
12520
12686
|
sortDirection: {
|
|
12521
12687
|
type: 'string',
|
|
@@ -12570,6 +12736,21 @@ export const schemaDict = {
|
|
|
12570
12736
|
"If specified, subjects of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.",
|
|
12571
12737
|
knownValues: ['account', 'record'],
|
|
12572
12738
|
},
|
|
12739
|
+
minAccountSuspendCount: {
|
|
12740
|
+
type: 'integer',
|
|
12741
|
+
description:
|
|
12742
|
+
'If specified, only subjects that belong to an account that has at least this many suspensions will be returned.',
|
|
12743
|
+
},
|
|
12744
|
+
minReportedRecordsCount: {
|
|
12745
|
+
type: 'integer',
|
|
12746
|
+
description:
|
|
12747
|
+
'If specified, only subjects that belong to an account that has at least this many reported records will be returned.',
|
|
12748
|
+
},
|
|
12749
|
+
minTakendownRecordsCount: {
|
|
12750
|
+
type: 'integer',
|
|
12751
|
+
description:
|
|
12752
|
+
'If specified, only subjects that belong to an account that has at least this many taken down records will be returned.',
|
|
12753
|
+
},
|
|
12573
12754
|
},
|
|
12574
12755
|
},
|
|
12575
12756
|
output: {
|
|
@@ -13649,30 +13830,6 @@ export function validate(
|
|
|
13649
13830
|
}
|
|
13650
13831
|
}
|
|
13651
13832
|
|
|
13652
|
-
export function isValid<T extends { $type: string }>(
|
|
13653
|
-
v: unknown,
|
|
13654
|
-
id: string,
|
|
13655
|
-
hash: string,
|
|
13656
|
-
requiredType: true,
|
|
13657
|
-
): v is T
|
|
13658
|
-
export function isValid<T extends { $type?: string }>(
|
|
13659
|
-
v: unknown,
|
|
13660
|
-
id: string,
|
|
13661
|
-
hash: string,
|
|
13662
|
-
requiredType?: false,
|
|
13663
|
-
): v is T
|
|
13664
|
-
export function isValid(
|
|
13665
|
-
v: unknown,
|
|
13666
|
-
id: string,
|
|
13667
|
-
hash: string,
|
|
13668
|
-
requiredType?: boolean,
|
|
13669
|
-
) {
|
|
13670
|
-
return (
|
|
13671
|
-
(requiredType ? is$typed : maybe$typed)(v, id, hash) &&
|
|
13672
|
-
validate(v, id, hash).success
|
|
13673
|
-
)
|
|
13674
|
-
}
|
|
13675
|
-
|
|
13676
13833
|
export const ids = {
|
|
13677
13834
|
ComAtprotoAdminDefs: 'com.atproto.admin.defs',
|
|
13678
13835
|
ComAtprotoAdminDeleteAccount: 'com.atproto.admin.deleteAccount',
|
|
@@ -13703,6 +13860,7 @@ export const ids = {
|
|
|
13703
13860
|
ComAtprotoLabelDefs: 'com.atproto.label.defs',
|
|
13704
13861
|
ComAtprotoLabelQueryLabels: 'com.atproto.label.queryLabels',
|
|
13705
13862
|
ComAtprotoLabelSubscribeLabels: 'com.atproto.label.subscribeLabels',
|
|
13863
|
+
ComAtprotoLexiconSchema: 'com.atproto.lexicon.schema',
|
|
13706
13864
|
ComAtprotoModerationCreateReport: 'com.atproto.moderation.createReport',
|
|
13707
13865
|
ComAtprotoModerationDefs: 'com.atproto.moderation.defs',
|
|
13708
13866
|
ComAtprotoRepoApplyWrites: 'com.atproto.repo.applyWrites',
|
|
@@ -5,9 +5,9 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
5
5
|
import { CID } from 'multiformats/cid'
|
|
6
6
|
import { validate as _validate } from '../../../../lexicons'
|
|
7
7
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
8
|
-
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs'
|
|
9
|
-
import type * as AppBskyGraphDefs from '../graph/defs'
|
|
10
|
-
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'
|
|
8
|
+
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'
|
|
9
|
+
import type * as AppBskyGraphDefs from '../graph/defs.js'
|
|
10
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'
|
|
11
11
|
|
|
12
12
|
const is$typed = _is$typed,
|
|
13
13
|
validate = _validate
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyActorDefs from './defs'
|
|
9
|
+
import type * as AppBskyActorDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyActorDefs from './defs'
|
|
9
|
+
import type * as AppBskyActorDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyActorDefs from './defs'
|
|
9
|
+
import type * as AppBskyActorDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyActorDefs from './defs'
|
|
9
|
+
import type * as AppBskyActorDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -22,6 +22,8 @@ export type InputSchema = undefined
|
|
|
22
22
|
export interface OutputSchema {
|
|
23
23
|
cursor?: string
|
|
24
24
|
actors: AppBskyActorDefs.ProfileView[]
|
|
25
|
+
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
26
|
+
recId?: number
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
export interface CallOptions {
|
|
@@ -5,8 +5,8 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
5
5
|
import { CID } from 'multiformats/cid'
|
|
6
6
|
import { validate as _validate } from '../../../../lexicons'
|
|
7
7
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
8
|
-
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs'
|
|
9
|
-
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'
|
|
8
|
+
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'
|
|
9
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyActorDefs from './defs'
|
|
9
|
+
import type * as AppBskyActorDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyActorDefs from './defs'
|
|
9
|
+
import type * as AppBskyActorDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyActorDefs from './defs'
|
|
9
|
+
import type * as AppBskyActorDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -5,7 +5,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
5
5
|
import { CID } from 'multiformats/cid'
|
|
6
6
|
import { validate as _validate } from '../../../../lexicons'
|
|
7
7
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
8
|
-
import type * as AppBskyEmbedDefs from './defs'
|
|
8
|
+
import type * as AppBskyEmbedDefs from './defs.js'
|
|
9
9
|
|
|
10
10
|
const is$typed = _is$typed,
|
|
11
11
|
validate = _validate
|
|
@@ -5,16 +5,16 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
5
5
|
import { CID } from 'multiformats/cid'
|
|
6
6
|
import { validate as _validate } from '../../../../lexicons'
|
|
7
7
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
8
|
-
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'
|
|
9
|
-
import type * as AppBskyFeedDefs from '../feed/defs'
|
|
10
|
-
import type * as AppBskyGraphDefs from '../graph/defs'
|
|
11
|
-
import type * as AppBskyLabelerDefs from '../labeler/defs'
|
|
12
|
-
import type * as AppBskyActorDefs from '../actor/defs'
|
|
13
|
-
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs'
|
|
14
|
-
import type * as AppBskyEmbedImages from './images'
|
|
15
|
-
import type * as AppBskyEmbedVideo from './video'
|
|
16
|
-
import type * as AppBskyEmbedExternal from './external'
|
|
17
|
-
import type * as AppBskyEmbedRecordWithMedia from './recordWithMedia'
|
|
8
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'
|
|
9
|
+
import type * as AppBskyFeedDefs from '../feed/defs.js'
|
|
10
|
+
import type * as AppBskyGraphDefs from '../graph/defs.js'
|
|
11
|
+
import type * as AppBskyLabelerDefs from '../labeler/defs.js'
|
|
12
|
+
import type * as AppBskyActorDefs from '../actor/defs.js'
|
|
13
|
+
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'
|
|
14
|
+
import type * as AppBskyEmbedImages from './images.js'
|
|
15
|
+
import type * as AppBskyEmbedVideo from './video.js'
|
|
16
|
+
import type * as AppBskyEmbedExternal from './external.js'
|
|
17
|
+
import type * as AppBskyEmbedRecordWithMedia from './recordWithMedia.js'
|
|
18
18
|
|
|
19
19
|
const is$typed = _is$typed,
|
|
20
20
|
validate = _validate
|
|
@@ -5,10 +5,10 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
5
5
|
import { CID } from 'multiformats/cid'
|
|
6
6
|
import { validate as _validate } from '../../../../lexicons'
|
|
7
7
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
8
|
-
import type * as AppBskyEmbedRecord from './record'
|
|
9
|
-
import type * as AppBskyEmbedImages from './images'
|
|
10
|
-
import type * as AppBskyEmbedVideo from './video'
|
|
11
|
-
import type * as AppBskyEmbedExternal from './external'
|
|
8
|
+
import type * as AppBskyEmbedRecord from './record.js'
|
|
9
|
+
import type * as AppBskyEmbedImages from './images.js'
|
|
10
|
+
import type * as AppBskyEmbedVideo from './video.js'
|
|
11
|
+
import type * as AppBskyEmbedExternal from './external.js'
|
|
12
12
|
|
|
13
13
|
const is$typed = _is$typed,
|
|
14
14
|
validate = _validate
|
|
@@ -5,7 +5,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
5
5
|
import { CID } from 'multiformats/cid'
|
|
6
6
|
import { validate as _validate } from '../../../../lexicons'
|
|
7
7
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
8
|
-
import type * as AppBskyEmbedDefs from './defs'
|
|
8
|
+
import type * as AppBskyEmbedDefs from './defs.js'
|
|
9
9
|
|
|
10
10
|
const is$typed = _is$typed,
|
|
11
11
|
validate = _validate
|
|
@@ -5,15 +5,15 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
5
5
|
import { CID } from 'multiformats/cid'
|
|
6
6
|
import { validate as _validate } from '../../../../lexicons'
|
|
7
7
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
8
|
-
import type * as AppBskyActorDefs from '../actor/defs'
|
|
9
|
-
import type * as AppBskyEmbedImages from '../embed/images'
|
|
10
|
-
import type * as AppBskyEmbedVideo from '../embed/video'
|
|
11
|
-
import type * as AppBskyEmbedExternal from '../embed/external'
|
|
12
|
-
import type * as AppBskyEmbedRecord from '../embed/record'
|
|
13
|
-
import type * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia'
|
|
14
|
-
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs'
|
|
15
|
-
import type * as AppBskyRichtextFacet from '../richtext/facet'
|
|
16
|
-
import type * as AppBskyGraphDefs from '../graph/defs'
|
|
8
|
+
import type * as AppBskyActorDefs from '../actor/defs.js'
|
|
9
|
+
import type * as AppBskyEmbedImages from '../embed/images.js'
|
|
10
|
+
import type * as AppBskyEmbedVideo from '../embed/video.js'
|
|
11
|
+
import type * as AppBskyEmbedExternal from '../embed/external.js'
|
|
12
|
+
import type * as AppBskyEmbedRecord from '../embed/record.js'
|
|
13
|
+
import type * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia.js'
|
|
14
|
+
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'
|
|
15
|
+
import type * as AppBskyRichtextFacet from '../richtext/facet.js'
|
|
16
|
+
import type * as AppBskyGraphDefs from '../graph/defs.js'
|
|
17
17
|
|
|
18
18
|
const is$typed = _is$typed,
|
|
19
19
|
validate = _validate
|
|
@@ -73,6 +73,22 @@ export function validateViewerState<V>(v: V) {
|
|
|
73
73
|
return validate<ViewerState & V>(v, id, hashViewerState)
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
/** Metadata about this post within the context of the thread it is in. */
|
|
77
|
+
export interface ThreadContext {
|
|
78
|
+
$type?: $Type<'app.bsky.feed.defs', 'threadContext'>
|
|
79
|
+
rootAuthorLike?: string
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
const hashThreadContext = 'threadContext'
|
|
83
|
+
|
|
84
|
+
export function isThreadContext<V>(v: V) {
|
|
85
|
+
return is$typed(v, id, hashThreadContext)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function validateThreadContext<V>(v: V) {
|
|
89
|
+
return validate<ThreadContext & V>(v, id, hashThreadContext)
|
|
90
|
+
}
|
|
91
|
+
|
|
76
92
|
export interface FeedViewPost {
|
|
77
93
|
$type?: $Type<'app.bsky.feed.defs', 'feedViewPost'>
|
|
78
94
|
post: PostView
|
|
@@ -161,6 +177,7 @@ export interface ThreadViewPost {
|
|
|
161
177
|
| $Typed<BlockedPost>
|
|
162
178
|
| { $type: string }
|
|
163
179
|
)[]
|
|
180
|
+
threadContext?: ThreadContext
|
|
164
181
|
}
|
|
165
182
|
|
|
166
183
|
const hashThreadViewPost = 'threadViewPost'
|
|
@@ -236,6 +253,10 @@ export interface GeneratorView {
|
|
|
236
253
|
acceptsInteractions?: boolean
|
|
237
254
|
labels?: ComAtprotoLabelDefs.Label[]
|
|
238
255
|
viewer?: GeneratorViewerState
|
|
256
|
+
contentMode?:
|
|
257
|
+
| 'app.bsky.feed.defs#contentModeUnspecified'
|
|
258
|
+
| 'app.bsky.feed.defs#contentModeVideo'
|
|
259
|
+
| (string & {})
|
|
239
260
|
indexedAt: string
|
|
240
261
|
}
|
|
241
262
|
|
|
@@ -375,6 +396,10 @@ export const CLICKTHROUGHAUTHOR = `${id}#clickthroughAuthor`
|
|
|
375
396
|
export const CLICKTHROUGHREPOSTER = `${id}#clickthroughReposter`
|
|
376
397
|
/** User clicked through to the embedded content of the feed item */
|
|
377
398
|
export const CLICKTHROUGHEMBED = `${id}#clickthroughEmbed`
|
|
399
|
+
/** Declares the feed generator returns any types of posts. */
|
|
400
|
+
export const CONTENTMODEUNSPECIFIED = `${id}#contentModeUnspecified`
|
|
401
|
+
/** Declares the feed generator returns posts containing app.bsky.embed.video embeds. */
|
|
402
|
+
export const CONTENTMODEVIDEO = `${id}#contentModeVideo`
|
|
378
403
|
/** Feed item was seen by user */
|
|
379
404
|
export const INTERACTIONSEEN = `${id}#interactionSeen`
|
|
380
405
|
/** User liked the feed item */
|
|
@@ -5,8 +5,8 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
5
5
|
import { CID } from 'multiformats/cid'
|
|
6
6
|
import { validate as _validate } from '../../../../lexicons'
|
|
7
7
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
8
|
-
import type * as AppBskyRichtextFacet from '../richtext/facet'
|
|
9
|
-
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs'
|
|
8
|
+
import type * as AppBskyRichtextFacet from '../richtext/facet.js'
|
|
9
|
+
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -22,6 +22,10 @@ export interface Record {
|
|
|
22
22
|
/** Declaration that a feed accepts feedback interactions from a client through app.bsky.feed.sendInteractions */
|
|
23
23
|
acceptsInteractions?: boolean
|
|
24
24
|
labels?: $Typed<ComAtprotoLabelDefs.SelfLabels> | { $type: string }
|
|
25
|
+
contentMode?:
|
|
26
|
+
| 'app.bsky.feed.defs#contentModeUnspecified'
|
|
27
|
+
| 'app.bsky.feed.defs#contentModeVideo'
|
|
28
|
+
| (string & {})
|
|
25
29
|
createdAt: string
|
|
26
30
|
[k: string]: unknown
|
|
27
31
|
}
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyFeedDefs from './defs'
|
|
9
|
+
import type * as AppBskyFeedDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyFeedDefs from './defs'
|
|
9
|
+
import type * as AppBskyFeedDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyFeedDefs from './defs'
|
|
9
|
+
import type * as AppBskyFeedDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -22,6 +22,7 @@ export interface QueryParams {
|
|
|
22
22
|
| 'posts_no_replies'
|
|
23
23
|
| 'posts_with_media'
|
|
24
24
|
| 'posts_and_author_threads'
|
|
25
|
+
| 'posts_with_video'
|
|
25
26
|
| (string & {})
|
|
26
27
|
includePins?: boolean
|
|
27
28
|
}
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyFeedDefs from './defs'
|
|
9
|
+
import type * as AppBskyFeedDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyFeedDefs from './defs'
|
|
9
|
+
import type * as AppBskyFeedDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,7 +6,7 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
7
|
import { validate as _validate } from '../../../../lexicons'
|
|
8
8
|
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
9
|
-
import type * as AppBskyFeedDefs from './defs'
|
|
9
|
+
import type * as AppBskyFeedDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|