@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
|
@@ -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 ChatBskyConvoDefs from './defs'
|
|
9
|
+
import type * as ChatBskyConvoDefs 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 ChatBskyConvoDefs from './defs'
|
|
9
|
+
import type * as ChatBskyConvoDefs 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 ChatBskyConvoDefs from './defs'
|
|
9
|
+
import type * as ChatBskyConvoDefs 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 ChatBskyConvoDefs from '../convo/defs'
|
|
9
|
+
import type * as ChatBskyConvoDefs from '../convo/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 ComAtprotoServerDefs from '../server/defs'
|
|
8
|
+
import type * as ComAtprotoServerDefs from '../server/defs.js'
|
|
9
9
|
|
|
10
10
|
const is$typed = _is$typed,
|
|
11
11
|
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 ComAtprotoAdminDefs from './defs'
|
|
9
|
+
import type * as ComAtprotoAdminDefs 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 ComAtprotoAdminDefs from './defs'
|
|
9
|
+
import type * as ComAtprotoAdminDefs 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 ComAtprotoServerDefs from '../server/defs'
|
|
9
|
+
import type * as ComAtprotoServerDefs from '../server/defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,8 +6,8 @@ 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 ComAtprotoAdminDefs from './defs'
|
|
10
|
-
import type * as ComAtprotoRepoStrongRef from '../repo/strongRef'
|
|
9
|
+
import type * as ComAtprotoAdminDefs from './defs.js'
|
|
10
|
+
import type * as ComAtprotoRepoStrongRef from '../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 ComAtprotoAdminDefs from './defs'
|
|
9
|
+
import type * as ComAtprotoAdminDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,8 +6,8 @@ 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 ComAtprotoAdminDefs from './defs'
|
|
10
|
-
import type * as ComAtprotoRepoStrongRef from '../repo/strongRef'
|
|
9
|
+
import type * as ComAtprotoAdminDefs from './defs.js'
|
|
10
|
+
import type * as ComAtprotoRepoStrongRef from '../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 ComAtprotoLabelDefs from './defs'
|
|
9
|
+
import type * as ComAtprotoLabelDefs 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 ComAtprotoLabelDefs from './defs'
|
|
9
|
+
import type * as ComAtprotoLabelDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
5
|
+
import { CID } from 'multiformats/cid'
|
|
6
|
+
import { validate as _validate } from '../../../../lexicons'
|
|
7
|
+
import { $Type, $Typed, is$typed as _is$typed, OmitKey } from '../../../../util'
|
|
8
|
+
|
|
9
|
+
const is$typed = _is$typed,
|
|
10
|
+
validate = _validate
|
|
11
|
+
const id = 'com.atproto.lexicon.schema'
|
|
12
|
+
|
|
13
|
+
export interface Record {
|
|
14
|
+
$type: $Type<'com.atproto.lexicon.schema', 'main'>
|
|
15
|
+
/** Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema system. */
|
|
16
|
+
lexicon: number
|
|
17
|
+
[k: string]: unknown
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const hashRecord = 'main'
|
|
21
|
+
|
|
22
|
+
export function isRecord<V>(v: V) {
|
|
23
|
+
return is$typed(v, id, hashRecord)
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function validateRecord<V>(v: V) {
|
|
27
|
+
return validate<Record & V>(v, id, hashRecord, true)
|
|
28
|
+
}
|
|
@@ -6,9 +6,9 @@ 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 ComAtprotoModerationDefs from './defs'
|
|
10
|
-
import type * as ComAtprotoAdminDefs from '../admin/defs'
|
|
11
|
-
import type * as ComAtprotoRepoStrongRef from '../repo/strongRef'
|
|
9
|
+
import type * as ComAtprotoModerationDefs from './defs.js'
|
|
10
|
+
import type * as ComAtprotoAdminDefs from '../admin/defs.js'
|
|
11
|
+
import type * as ComAtprotoRepoStrongRef from '../repo/strongRef.js'
|
|
12
12
|
|
|
13
13
|
const is$typed = _is$typed,
|
|
14
14
|
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 ComAtprotoRepoDefs from './defs'
|
|
9
|
+
import type * as ComAtprotoRepoDefs 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 ComAtprotoRepoDefs from './defs'
|
|
9
|
+
import type * as ComAtprotoRepoDefs 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 ComAtprotoRepoDefs from './defs'
|
|
9
|
+
import type * as ComAtprotoRepoDefs 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 ComAtprotoRepoDefs from './defs'
|
|
9
|
+
import type * as ComAtprotoRepoDefs 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 ComAtprotoServerDefs from './defs'
|
|
9
|
+
import type * as ComAtprotoServerDefs 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 ComAtprotoLabelDefs from '../label/defs'
|
|
9
|
+
import type * as ComAtprotoLabelDefs from '../label/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 ToolsOzoneCommunicationDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneCommunicationDefs 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 ToolsOzoneCommunicationDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneCommunicationDefs 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 ToolsOzoneCommunicationDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneCommunicationDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -5,12 +5,12 @@ 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 ComAtprotoAdminDefs from '../../../com/atproto/admin/defs'
|
|
9
|
-
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'
|
|
10
|
-
import type * as ChatBskyConvoDefs from '../../../chat/bsky/convo/defs'
|
|
11
|
-
import type * as ComAtprotoModerationDefs from '../../../com/atproto/moderation/defs'
|
|
12
|
-
import type * as ComAtprotoServerDefs from '../../../com/atproto/server/defs'
|
|
13
|
-
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs'
|
|
8
|
+
import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'
|
|
9
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'
|
|
10
|
+
import type * as ChatBskyConvoDefs from '../../../chat/bsky/convo/defs.js'
|
|
11
|
+
import type * as ComAtprotoModerationDefs from '../../../com/atproto/moderation/defs.js'
|
|
12
|
+
import type * as ComAtprotoServerDefs from '../../../com/atproto/server/defs.js'
|
|
13
|
+
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'
|
|
14
14
|
|
|
15
15
|
const is$typed = _is$typed,
|
|
16
16
|
validate = _validate
|
|
@@ -134,6 +134,8 @@ export interface SubjectStatusView {
|
|
|
134
134
|
appealed?: boolean
|
|
135
135
|
suspendUntil?: string
|
|
136
136
|
tags?: string[]
|
|
137
|
+
accountStats?: AccountStats
|
|
138
|
+
recordsStats?: RecordsStats
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
const hashSubjectStatusView = 'subjectStatusView'
|
|
@@ -146,6 +148,62 @@ export function validateSubjectStatusView<V>(v: V) {
|
|
|
146
148
|
return validate<SubjectStatusView & V>(v, id, hashSubjectStatusView)
|
|
147
149
|
}
|
|
148
150
|
|
|
151
|
+
/** Statistics about a particular account subject */
|
|
152
|
+
export interface AccountStats {
|
|
153
|
+
$type?: $Type<'tools.ozone.moderation.defs', 'accountStats'>
|
|
154
|
+
/** Total number of reports on the account */
|
|
155
|
+
reportCount?: number
|
|
156
|
+
/** Total number of appeals against a moderation action on the account */
|
|
157
|
+
appealCount?: number
|
|
158
|
+
/** Number of times the account was suspended */
|
|
159
|
+
suspendCount?: number
|
|
160
|
+
/** Number of times the account was escalated */
|
|
161
|
+
escalateCount?: number
|
|
162
|
+
/** Number of times the account was taken down */
|
|
163
|
+
takedownCount?: number
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
const hashAccountStats = 'accountStats'
|
|
167
|
+
|
|
168
|
+
export function isAccountStats<V>(v: V) {
|
|
169
|
+
return is$typed(v, id, hashAccountStats)
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export function validateAccountStats<V>(v: V) {
|
|
173
|
+
return validate<AccountStats & V>(v, id, hashAccountStats)
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/** Statistics about a set of record subject items */
|
|
177
|
+
export interface RecordsStats {
|
|
178
|
+
$type?: $Type<'tools.ozone.moderation.defs', 'recordsStats'>
|
|
179
|
+
/** Cumulative sum of the number of reports on the items in the set */
|
|
180
|
+
totalReports?: number
|
|
181
|
+
/** Number of items that were reported at least once */
|
|
182
|
+
reportedCount?: number
|
|
183
|
+
/** Number of items that were escalated at least once */
|
|
184
|
+
escalatedCount?: number
|
|
185
|
+
/** Number of items that were appealed at least once */
|
|
186
|
+
appealedCount?: number
|
|
187
|
+
/** Total number of item in the set */
|
|
188
|
+
subjectCount?: number
|
|
189
|
+
/** Number of item currently in "reviewOpen" or "reviewEscalated" state */
|
|
190
|
+
pendingCount?: number
|
|
191
|
+
/** Number of item currently in "reviewNone" or "reviewClosed" state */
|
|
192
|
+
processedCount?: number
|
|
193
|
+
/** Number of item currently taken down */
|
|
194
|
+
takendownCount?: number
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
const hashRecordsStats = 'recordsStats'
|
|
198
|
+
|
|
199
|
+
export function isRecordsStats<V>(v: V) {
|
|
200
|
+
return is$typed(v, id, hashRecordsStats)
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export function validateRecordsStats<V>(v: V) {
|
|
204
|
+
return validate<RecordsStats & V>(v, id, hashRecordsStats)
|
|
205
|
+
}
|
|
206
|
+
|
|
149
207
|
export type SubjectReviewState =
|
|
150
208
|
| 'lex:tools.ozone.moderation.defs#reviewOpen'
|
|
151
209
|
| 'lex:tools.ozone.moderation.defs#reviewEscalated'
|
|
@@ -265,6 +323,8 @@ export interface ModEventLabel {
|
|
|
265
323
|
comment?: string
|
|
266
324
|
createLabelVals: string[]
|
|
267
325
|
negateLabelVals: string[]
|
|
326
|
+
/** Indicates how long the label will remain on the subject. Only applies on labels that are being added. */
|
|
327
|
+
durationInHours?: number
|
|
268
328
|
}
|
|
269
329
|
|
|
270
330
|
const hashModEventLabel = 'modEventLabel'
|
|
@@ -6,9 +6,9 @@ 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 ToolsOzoneModerationDefs from './defs'
|
|
10
|
-
import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs'
|
|
11
|
-
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef'
|
|
9
|
+
import type * as ToolsOzoneModerationDefs from './defs.js'
|
|
10
|
+
import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'
|
|
11
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'
|
|
12
12
|
|
|
13
13
|
const is$typed = _is$typed,
|
|
14
14
|
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 ToolsOzoneModerationDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneModerationDefs 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 ToolsOzoneModerationDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneModerationDefs 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 ToolsOzoneModerationDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneModerationDefs 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 ToolsOzoneModerationDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneModerationDefs 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 ToolsOzoneModerationDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneModerationDefs 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 ToolsOzoneModerationDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneModerationDefs 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 ToolsOzoneModerationDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneModerationDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -52,7 +52,11 @@ export interface QueryParams {
|
|
|
52
52
|
ignoreSubjects?: string[]
|
|
53
53
|
/** Get all subject statuses that were reviewed by a specific moderator */
|
|
54
54
|
lastReviewedBy?: string
|
|
55
|
-
sortField?:
|
|
55
|
+
sortField?:
|
|
56
|
+
| 'lastReviewedAt'
|
|
57
|
+
| 'lastReportedAt'
|
|
58
|
+
| 'reportedRecordsCount'
|
|
59
|
+
| 'takendownRecordsCount'
|
|
56
60
|
sortDirection?: 'asc' | 'desc'
|
|
57
61
|
/** Get subjects that were taken down */
|
|
58
62
|
takendown?: boolean
|
|
@@ -66,6 +70,12 @@ export interface QueryParams {
|
|
|
66
70
|
collections?: string[]
|
|
67
71
|
/** 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. */
|
|
68
72
|
subjectType?: 'account' | 'record' | (string & {})
|
|
73
|
+
/** If specified, only subjects that belong to an account that has at least this many suspensions will be returned. */
|
|
74
|
+
minAccountSuspendCount?: number
|
|
75
|
+
/** If specified, only subjects that belong to an account that has at least this many reported records will be returned. */
|
|
76
|
+
minReportedRecordsCount?: number
|
|
77
|
+
/** If specified, only subjects that belong to an account that has at least this many taken down records will be returned. */
|
|
78
|
+
minTakendownRecordsCount?: number
|
|
69
79
|
}
|
|
70
80
|
|
|
71
81
|
export type InputSchema = undefined
|
|
@@ -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 ToolsOzoneModerationDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneModerationDefs 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 ToolsOzoneSetDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneSetDefs 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 ToolsOzoneSetDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneSetDefs 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 ToolsOzoneSetDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneSetDefs 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 ToolsOzoneSettingDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneSettingDefs 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 ToolsOzoneSettingDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneSettingDefs 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 ToolsOzoneSignatureDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneSignatureDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|
|
@@ -6,8 +6,8 @@ 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 ComAtprotoAdminDefs from '../../../com/atproto/admin/defs'
|
|
10
|
-
import type * as ToolsOzoneSignatureDefs from './defs'
|
|
9
|
+
import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'
|
|
10
|
+
import type * as ToolsOzoneSignatureDefs from './defs.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 ComAtprotoAdminDefs from '../../../com/atproto/admin/defs'
|
|
9
|
+
import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/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 ToolsOzoneTeamDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneTeamDefs 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 AppBskyActorDefs from '../../../app/bsky/actor/defs'
|
|
8
|
+
import type * as AppBskyActorDefs from '../../../app/bsky/actor/defs.js'
|
|
9
9
|
|
|
10
10
|
const is$typed = _is$typed,
|
|
11
11
|
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 ToolsOzoneTeamDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneTeamDefs 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 ToolsOzoneTeamDefs from './defs'
|
|
9
|
+
import type * as ToolsOzoneTeamDefs from './defs.js'
|
|
10
10
|
|
|
11
11
|
const is$typed = _is$typed,
|
|
12
12
|
validate = _validate
|