@atcute/bluesky 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lexicons/types/app/bsky/actor/defs.d.ts +48 -48
- package/dist/lexicons/types/app/bsky/actor/defs.js +97 -92
- package/dist/lexicons/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicons/types/app/bsky/actor/getProfiles.js +1 -1
- package/dist/lexicons/types/app/bsky/actor/getProfiles.js.map +1 -1
- package/dist/lexicons/types/app/bsky/actor/getSuggestions.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/actor/getSuggestions.js +2 -2
- package/dist/lexicons/types/app/bsky/actor/getSuggestions.js.map +1 -1
- package/dist/lexicons/types/app/bsky/actor/profile.d.ts +4 -4
- package/dist/lexicons/types/app/bsky/actor/profile.js +11 -11
- package/dist/lexicons/types/app/bsky/actor/profile.js.map +1 -1
- package/dist/lexicons/types/app/bsky/actor/searchActors.d.ts +4 -4
- package/dist/lexicons/types/app/bsky/actor/searchActors.js +4 -4
- package/dist/lexicons/types/app/bsky/actor/searchActors.js.map +1 -1
- package/dist/lexicons/types/app/bsky/actor/searchActorsTypeahead.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/actor/searchActorsTypeahead.js +2 -2
- package/dist/lexicons/types/app/bsky/actor/searchActorsTypeahead.js.map +1 -1
- package/dist/lexicons/types/app/bsky/actor/status.d.ts +3 -3
- package/dist/lexicons/types/app/bsky/actor/status.js +4 -4
- package/dist/lexicons/types/app/bsky/actor/status.js.map +1 -1
- package/dist/lexicons/types/app/bsky/embed/defs.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/embed/defs.js +1 -1
- package/dist/lexicons/types/app/bsky/embed/defs.js.map +1 -1
- package/dist/lexicons/types/app/bsky/embed/external.d.ts +4 -4
- package/dist/lexicons/types/app/bsky/embed/external.js +4 -4
- package/dist/lexicons/types/app/bsky/embed/external.js.map +1 -1
- package/dist/lexicons/types/app/bsky/embed/images.d.ts +3 -3
- package/dist/lexicons/types/app/bsky/embed/images.js +7 -5
- package/dist/lexicons/types/app/bsky/embed/images.js.map +1 -1
- package/dist/lexicons/types/app/bsky/embed/record.d.ts +12 -12
- package/dist/lexicons/types/app/bsky/embed/record.js +20 -20
- package/dist/lexicons/types/app/bsky/embed/record.js.map +1 -1
- package/dist/lexicons/types/app/bsky/embed/recordWithMedia.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/embed/recordWithMedia.js +8 -8
- package/dist/lexicons/types/app/bsky/embed/recordWithMedia.js.map +1 -1
- package/dist/lexicons/types/app/bsky/embed/video.d.ts +6 -6
- package/dist/lexicons/types/app/bsky/embed/video.js +9 -9
- package/dist/lexicons/types/app/bsky/embed/video.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/defs.d.ts +37 -37
- package/dist/lexicons/types/app/bsky/feed/defs.js +51 -51
- package/dist/lexicons/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/generator.d.ts +6 -6
- package/dist/lexicons/types/app/bsky/feed/generator.js +10 -10
- package/dist/lexicons/types/app/bsky/feed/generator.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getActorFeeds.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/feed/getActorFeeds.js +1 -1
- package/dist/lexicons/types/app/bsky/feed/getActorFeeds.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getActorLikes.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/feed/getActorLikes.js +1 -1
- package/dist/lexicons/types/app/bsky/feed/getActorLikes.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getAuthorFeed.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/feed/getAuthorFeed.js +2 -2
- package/dist/lexicons/types/app/bsky/feed/getAuthorFeed.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getFeed.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/feed/getFeed.js +1 -1
- package/dist/lexicons/types/app/bsky/feed/getFeed.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerator.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerator.js +2 -2
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerator.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getFeedSkeleton.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/feed/getFeedSkeleton.js +1 -1
- package/dist/lexicons/types/app/bsky/feed/getFeedSkeleton.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getLikes.d.ts +7 -7
- package/dist/lexicons/types/app/bsky/feed/getLikes.js +7 -7
- package/dist/lexicons/types/app/bsky/feed/getLikes.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getListFeed.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/feed/getListFeed.js +2 -2
- package/dist/lexicons/types/app/bsky/feed/getListFeed.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getPostThread.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/feed/getPostThread.js +3 -3
- package/dist/lexicons/types/app/bsky/feed/getPostThread.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getPosts.js +1 -1
- package/dist/lexicons/types/app/bsky/feed/getPosts.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getQuotes.d.ts +5 -5
- package/dist/lexicons/types/app/bsky/feed/getQuotes.js +5 -5
- package/dist/lexicons/types/app/bsky/feed/getQuotes.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getRepostedBy.d.ts +5 -5
- package/dist/lexicons/types/app/bsky/feed/getRepostedBy.js +5 -5
- package/dist/lexicons/types/app/bsky/feed/getRepostedBy.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getSuggestedFeeds.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/feed/getSuggestedFeeds.js +1 -1
- package/dist/lexicons/types/app/bsky/feed/getSuggestedFeeds.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/getTimeline.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/feed/getTimeline.js +1 -1
- package/dist/lexicons/types/app/bsky/feed/getTimeline.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/like.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/feed/like.js +1 -1
- package/dist/lexicons/types/app/bsky/feed/like.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/post.d.ts +7 -7
- package/dist/lexicons/types/app/bsky/feed/post.js +24 -23
- package/dist/lexicons/types/app/bsky/feed/post.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/postgate.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/feed/postgate.js +3 -3
- package/dist/lexicons/types/app/bsky/feed/postgate.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/repost.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/feed/repost.js +1 -1
- package/dist/lexicons/types/app/bsky/feed/repost.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/searchPosts.d.ts +8 -8
- package/dist/lexicons/types/app/bsky/feed/searchPosts.js +10 -10
- package/dist/lexicons/types/app/bsky/feed/searchPosts.js.map +1 -1
- package/dist/lexicons/types/app/bsky/feed/threadgate.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/feed/threadgate.js +5 -4
- package/dist/lexicons/types/app/bsky/feed/threadgate.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/block.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/graph/block.js +1 -1
- package/dist/lexicons/types/app/bsky/graph/block.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/defs.d.ts +29 -29
- package/dist/lexicons/types/app/bsky/graph/defs.js +41 -39
- package/dist/lexicons/types/app/bsky/graph/defs.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/follow.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/graph/follow.js +1 -1
- package/dist/lexicons/types/app/bsky/graph/follow.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getActorStarterPacks.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/graph/getActorStarterPacks.js +1 -1
- package/dist/lexicons/types/app/bsky/graph/getActorStarterPacks.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getBlocks.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/graph/getBlocks.js +2 -2
- package/dist/lexicons/types/app/bsky/graph/getBlocks.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getFollowers.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/graph/getFollowers.js +4 -4
- package/dist/lexicons/types/app/bsky/graph/getFollowers.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getFollows.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/graph/getFollows.js +4 -4
- package/dist/lexicons/types/app/bsky/graph/getFollows.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getKnownFollowers.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/graph/getKnownFollowers.js +4 -4
- package/dist/lexicons/types/app/bsky/graph/getKnownFollowers.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getList.d.ts +3 -3
- package/dist/lexicons/types/app/bsky/graph/getList.js +5 -5
- package/dist/lexicons/types/app/bsky/graph/getList.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getListBlocks.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/graph/getListBlocks.js +1 -1
- package/dist/lexicons/types/app/bsky/graph/getListBlocks.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getListMutes.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/graph/getListMutes.js +1 -1
- package/dist/lexicons/types/app/bsky/graph/getListMutes.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getLists.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/graph/getLists.js +1 -1
- package/dist/lexicons/types/app/bsky/graph/getLists.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getMutes.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/graph/getMutes.js +1 -1
- package/dist/lexicons/types/app/bsky/graph/getMutes.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getRelationships.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/graph/getRelationships.js +2 -2
- package/dist/lexicons/types/app/bsky/graph/getRelationships.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getStarterPacks.js +1 -1
- package/dist/lexicons/types/app/bsky/graph/getStarterPacks.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/graph/getSuggestedFollowsByActor.js +2 -2
- package/dist/lexicons/types/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/list.d.ts +4 -4
- package/dist/lexicons/types/app/bsky/graph/list.js +6 -6
- package/dist/lexicons/types/app/bsky/graph/list.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/listblock.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/graph/listblock.js +1 -1
- package/dist/lexicons/types/app/bsky/graph/listblock.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/listitem.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/graph/listitem.js +2 -2
- package/dist/lexicons/types/app/bsky/graph/listitem.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/searchStarterPacks.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/graph/searchStarterPacks.js +2 -2
- package/dist/lexicons/types/app/bsky/graph/searchStarterPacks.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/starterpack.d.ts +3 -3
- package/dist/lexicons/types/app/bsky/graph/starterpack.js +7 -7
- package/dist/lexicons/types/app/bsky/graph/starterpack.js.map +1 -1
- package/dist/lexicons/types/app/bsky/graph/verification.d.ts +3 -3
- package/dist/lexicons/types/app/bsky/graph/verification.js +3 -3
- package/dist/lexicons/types/app/bsky/graph/verification.js.map +1 -1
- package/dist/lexicons/types/app/bsky/labeler/defs.d.ts +11 -11
- package/dist/lexicons/types/app/bsky/labeler/defs.js +19 -19
- package/dist/lexicons/types/app/bsky/labeler/defs.js.map +1 -1
- package/dist/lexicons/types/app/bsky/labeler/getServices.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/labeler/getServices.js +1 -1
- package/dist/lexicons/types/app/bsky/labeler/getServices.js.map +1 -1
- package/dist/lexicons/types/app/bsky/labeler/service.d.ts +3 -3
- package/dist/lexicons/types/app/bsky/labeler/service.js +5 -5
- package/dist/lexicons/types/app/bsky/labeler/service.js.map +1 -1
- package/dist/lexicons/types/app/bsky/notification/listNotifications.d.ts +8 -8
- package/dist/lexicons/types/app/bsky/notification/listNotifications.js +8 -8
- package/dist/lexicons/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/lexicons/types/app/bsky/notification/registerPush.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/notification/registerPush.js +2 -2
- package/dist/lexicons/types/app/bsky/notification/registerPush.js.map +1 -1
- package/dist/lexicons/types/app/bsky/richtext/facet.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/richtext/facet.js +4 -4
- package/dist/lexicons/types/app/bsky/richtext/facet.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/defs.d.ts +10 -10
- package/dist/lexicons/types/app/bsky/unspecced/defs.js +12 -12
- package/dist/lexicons/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getConfig.d.ts +12 -0
- package/dist/lexicons/types/app/bsky/unspecced/getConfig.js +9 -0
- package/dist/lexicons/types/app/bsky/unspecced/getConfig.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getPopularFeedGenerators.js +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getPopularFeedGenerators.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersSkeleton.js +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersSkeleton.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +4 -4
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestionsSkeleton.js +4 -4
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestionsSkeleton.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getTaggedSuggestions.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/unspecced/getTaggedSuggestions.js +2 -2
- package/dist/lexicons/types/app/bsky/unspecced/getTaggedSuggestions.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getTrendingTopics.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/unspecced/getTrendingTopics.js +3 -3
- package/dist/lexicons/types/app/bsky/unspecced/getTrendingTopics.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getTrendsSkeleton.d.ts +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getTrendsSkeleton.js +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/getTrendsSkeleton.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +4 -4
- package/dist/lexicons/types/app/bsky/unspecced/searchActorsSkeleton.js +6 -6
- package/dist/lexicons/types/app/bsky/unspecced/searchActorsSkeleton.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +8 -8
- package/dist/lexicons/types/app/bsky/unspecced/searchPostsSkeleton.js +10 -10
- package/dist/lexicons/types/app/bsky/unspecced/searchPostsSkeleton.js.map +1 -1
- package/dist/lexicons/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts +2 -2
- package/dist/lexicons/types/app/bsky/unspecced/searchStarterPacksSkeleton.js +3 -3
- package/dist/lexicons/types/app/bsky/unspecced/searchStarterPacksSkeleton.js.map +1 -1
- package/dist/lexicons/types/app/bsky/video/defs.d.ts +4 -4
- package/dist/lexicons/types/app/bsky/video/defs.js +5 -5
- package/dist/lexicons/types/app/bsky/video/defs.js.map +1 -1
- package/dist/lexicons/types/app/bsky/video/getUploadLimits.d.ts +3 -3
- package/dist/lexicons/types/app/bsky/video/getUploadLimits.js +3 -3
- package/dist/lexicons/types/app/bsky/video/getUploadLimits.js.map +1 -1
- package/dist/lexicons/types/app/bsky/video/uploadVideo.d.ts +1 -0
- package/dist/lexicons/types/app/bsky/video/uploadVideo.js +1 -0
- package/dist/lexicons/types/app/bsky/video/uploadVideo.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/actor/defs.d.ts +5 -5
- package/dist/lexicons/types/chat/bsky/actor/defs.js +9 -9
- package/dist/lexicons/types/chat/bsky/actor/defs.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/actor/exportAccountData.d.ts +1 -0
- package/dist/lexicons/types/chat/bsky/actor/exportAccountData.js +1 -0
- package/dist/lexicons/types/chat/bsky/actor/exportAccountData.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/convo/defs.d.ts +28 -28
- package/dist/lexicons/types/chat/bsky/convo/defs.js +38 -38
- package/dist/lexicons/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/convo/getConvoAvailability.js +1 -1
- package/dist/lexicons/types/chat/bsky/convo/getConvoAvailability.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/convo/getConvoForMembers.js +1 -1
- package/dist/lexicons/types/chat/bsky/convo/getConvoForMembers.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/convo/getLog.d.ts +1 -1
- package/dist/lexicons/types/chat/bsky/convo/getLog.js +5 -5
- package/dist/lexicons/types/chat/bsky/convo/getLog.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/convo/getMessages.d.ts +2 -2
- package/dist/lexicons/types/chat/bsky/convo/getMessages.js +2 -2
- package/dist/lexicons/types/chat/bsky/convo/getMessages.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/convo/listConvos.d.ts +3 -3
- package/dist/lexicons/types/chat/bsky/convo/listConvos.js +2 -2
- package/dist/lexicons/types/chat/bsky/convo/listConvos.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/convo/sendMessageBatch.js +3 -1
- package/dist/lexicons/types/chat/bsky/convo/sendMessageBatch.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/convo/updateAllRead.d.ts +1 -1
- package/dist/lexicons/types/chat/bsky/moderation/getActorMetadata.d.ts +3 -3
- package/dist/lexicons/types/chat/bsky/moderation/getActorMetadata.js +5 -5
- package/dist/lexicons/types/chat/bsky/moderation/getActorMetadata.js.map +1 -1
- package/dist/lexicons/types/chat/bsky/moderation/getMessageContext.d.ts +3 -3
- package/dist/lexicons/types/chat/bsky/moderation/getMessageContext.js +3 -3
- package/dist/lexicons/types/chat/bsky/moderation/getMessageContext.js.map +1 -1
- package/lib/lexicons/types/app/bsky/actor/defs.ts +109 -104
- package/lib/lexicons/types/app/bsky/actor/getProfiles.ts +1 -1
- package/lib/lexicons/types/app/bsky/actor/getSuggestions.ts +2 -2
- package/lib/lexicons/types/app/bsky/actor/profile.ts +12 -12
- package/lib/lexicons/types/app/bsky/actor/searchActors.ts +4 -4
- package/lib/lexicons/types/app/bsky/actor/searchActorsTypeahead.ts +2 -2
- package/lib/lexicons/types/app/bsky/actor/status.ts +5 -5
- package/lib/lexicons/types/app/bsky/embed/defs.ts +1 -1
- package/lib/lexicons/types/app/bsky/embed/external.ts +4 -4
- package/lib/lexicons/types/app/bsky/embed/images.ts +7 -5
- package/lib/lexicons/types/app/bsky/embed/record.ts +20 -20
- package/lib/lexicons/types/app/bsky/embed/recordWithMedia.ts +8 -8
- package/lib/lexicons/types/app/bsky/embed/video.ts +10 -10
- package/lib/lexicons/types/app/bsky/feed/defs.ts +63 -63
- package/lib/lexicons/types/app/bsky/feed/generator.ts +13 -13
- package/lib/lexicons/types/app/bsky/feed/getActorFeeds.ts +1 -1
- package/lib/lexicons/types/app/bsky/feed/getActorLikes.ts +1 -1
- package/lib/lexicons/types/app/bsky/feed/getAuthorFeed.ts +6 -6
- package/lib/lexicons/types/app/bsky/feed/getFeed.ts +1 -1
- package/lib/lexicons/types/app/bsky/feed/getFeedGenerator.ts +2 -2
- package/lib/lexicons/types/app/bsky/feed/getFeedSkeleton.ts +1 -1
- package/lib/lexicons/types/app/bsky/feed/getLikes.ts +7 -7
- package/lib/lexicons/types/app/bsky/feed/getListFeed.ts +2 -2
- package/lib/lexicons/types/app/bsky/feed/getPostThread.ts +3 -3
- package/lib/lexicons/types/app/bsky/feed/getPosts.ts +1 -1
- package/lib/lexicons/types/app/bsky/feed/getQuotes.ts +5 -5
- package/lib/lexicons/types/app/bsky/feed/getRepostedBy.ts +5 -5
- package/lib/lexicons/types/app/bsky/feed/getSuggestedFeeds.ts +1 -1
- package/lib/lexicons/types/app/bsky/feed/getTimeline.ts +1 -1
- package/lib/lexicons/types/app/bsky/feed/like.ts +1 -1
- package/lib/lexicons/types/app/bsky/feed/post.ts +23 -23
- package/lib/lexicons/types/app/bsky/feed/postgate.ts +3 -3
- package/lib/lexicons/types/app/bsky/feed/repost.ts +1 -1
- package/lib/lexicons/types/app/bsky/feed/searchPosts.ts +12 -12
- package/lib/lexicons/types/app/bsky/feed/threadgate.ts +4 -4
- package/lib/lexicons/types/app/bsky/graph/block.ts +1 -1
- package/lib/lexicons/types/app/bsky/graph/defs.ts +43 -41
- package/lib/lexicons/types/app/bsky/graph/follow.ts +1 -1
- package/lib/lexicons/types/app/bsky/graph/getActorStarterPacks.ts +1 -1
- package/lib/lexicons/types/app/bsky/graph/getBlocks.ts +2 -2
- package/lib/lexicons/types/app/bsky/graph/getFollowers.ts +4 -4
- package/lib/lexicons/types/app/bsky/graph/getFollows.ts +4 -4
- package/lib/lexicons/types/app/bsky/graph/getKnownFollowers.ts +4 -4
- package/lib/lexicons/types/app/bsky/graph/getList.ts +5 -5
- package/lib/lexicons/types/app/bsky/graph/getListBlocks.ts +1 -1
- package/lib/lexicons/types/app/bsky/graph/getListMutes.ts +1 -1
- package/lib/lexicons/types/app/bsky/graph/getLists.ts +1 -1
- package/lib/lexicons/types/app/bsky/graph/getMutes.ts +1 -1
- package/lib/lexicons/types/app/bsky/graph/getRelationships.ts +2 -2
- package/lib/lexicons/types/app/bsky/graph/getStarterPacks.ts +1 -1
- package/lib/lexicons/types/app/bsky/graph/getSuggestedFollowsByActor.ts +2 -2
- package/lib/lexicons/types/app/bsky/graph/list.ts +6 -6
- package/lib/lexicons/types/app/bsky/graph/listblock.ts +1 -1
- package/lib/lexicons/types/app/bsky/graph/listitem.ts +2 -2
- package/lib/lexicons/types/app/bsky/graph/searchStarterPacks.ts +2 -2
- package/lib/lexicons/types/app/bsky/graph/starterpack.ts +7 -7
- package/lib/lexicons/types/app/bsky/graph/verification.ts +3 -3
- package/lib/lexicons/types/app/bsky/labeler/defs.ts +19 -19
- package/lib/lexicons/types/app/bsky/labeler/getServices.ts +1 -1
- package/lib/lexicons/types/app/bsky/labeler/service.ts +5 -5
- package/lib/lexicons/types/app/bsky/notification/listNotifications.ts +13 -13
- package/lib/lexicons/types/app/bsky/notification/registerPush.ts +2 -2
- package/lib/lexicons/types/app/bsky/richtext/facet.ts +4 -4
- package/lib/lexicons/types/app/bsky/unspecced/defs.ts +12 -12
- package/lib/lexicons/types/app/bsky/unspecced/getConfig.ts +13 -0
- package/lib/lexicons/types/app/bsky/unspecced/getPopularFeedGenerators.ts +1 -1
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.ts +1 -1
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts +1 -1
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +1 -1
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +4 -4
- package/lib/lexicons/types/app/bsky/unspecced/getTaggedSuggestions.ts +2 -2
- package/lib/lexicons/types/app/bsky/unspecced/getTrendingTopics.ts +3 -3
- package/lib/lexicons/types/app/bsky/unspecced/getTrendsSkeleton.ts +1 -1
- package/lib/lexicons/types/app/bsky/unspecced/searchActorsSkeleton.ts +6 -6
- package/lib/lexicons/types/app/bsky/unspecced/searchPostsSkeleton.ts +12 -12
- package/lib/lexicons/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +3 -3
- package/lib/lexicons/types/app/bsky/video/defs.ts +5 -5
- package/lib/lexicons/types/app/bsky/video/getUploadLimits.ts +3 -3
- package/lib/lexicons/types/app/bsky/video/uploadVideo.ts +1 -0
- package/lib/lexicons/types/chat/bsky/actor/declaration.ts +1 -1
- package/lib/lexicons/types/chat/bsky/actor/defs.ts +9 -9
- package/lib/lexicons/types/chat/bsky/actor/exportAccountData.ts +1 -0
- package/lib/lexicons/types/chat/bsky/convo/defs.ts +39 -39
- package/lib/lexicons/types/chat/bsky/convo/getConvoAvailability.ts +1 -1
- package/lib/lexicons/types/chat/bsky/convo/getConvoForMembers.ts +1 -1
- package/lib/lexicons/types/chat/bsky/convo/getLog.ts +5 -5
- package/lib/lexicons/types/chat/bsky/convo/getMessages.ts +2 -2
- package/lib/lexicons/types/chat/bsky/convo/listConvos.ts +3 -3
- package/lib/lexicons/types/chat/bsky/convo/sendMessageBatch.ts +3 -1
- package/lib/lexicons/types/chat/bsky/convo/updateAllRead.ts +1 -1
- package/lib/lexicons/types/chat/bsky/moderation/getActorMetadata.ts +5 -5
- package/lib/lexicons/types/chat/bsky/moderation/getMessageContext.ts +3 -3
- package/package.json +6 -5
- package/dist/lexicons.test.d.ts +0 -1
- package/dist/lexicons.test.js +0 -126
- package/dist/lexicons.test.js.map +0 -1
|
@@ -20,32 +20,34 @@ const _bskyAppStatePrefSchema = /*#__PURE__*/ v.object({
|
|
|
20
20
|
get activeProgressGuide() {
|
|
21
21
|
return /*#__PURE__*/ v.optional(bskyAppProgressGuideSchema);
|
|
22
22
|
},
|
|
23
|
+
get nuxs() {
|
|
24
|
+
return /*#__PURE__*/ v.optional(
|
|
25
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(nuxSchema), [/*#__PURE__*/ v.arrayLength(0, 100)]),
|
|
26
|
+
);
|
|
27
|
+
},
|
|
23
28
|
queuedNudges: /*#__PURE__*/ v.optional(
|
|
24
29
|
/*#__PURE__*/ v.constrain(
|
|
25
|
-
|
|
30
|
+
/*#__PURE__*/ v.array(
|
|
31
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 100)]),
|
|
32
|
+
),
|
|
26
33
|
[/*#__PURE__*/ v.arrayLength(0, 1000)],
|
|
27
34
|
),
|
|
28
35
|
),
|
|
29
|
-
get nuxs() {
|
|
30
|
-
return /*#__PURE__*/ v.optional(
|
|
31
|
-
/*#__PURE__*/ v.constrain(v.array(nuxSchema), [/*#__PURE__*/ v.arrayLength(0, 100)]),
|
|
32
|
-
);
|
|
33
|
-
},
|
|
34
36
|
});
|
|
35
37
|
const _contentLabelPrefSchema = /*#__PURE__*/ v.object({
|
|
36
38
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#contentLabelPref')),
|
|
37
|
-
labelerDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
38
39
|
label: /*#__PURE__*/ v.string(),
|
|
39
|
-
|
|
40
|
+
labelerDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
41
|
+
visibility: /*#__PURE__*/ v.string<'hide' | 'ignore' | 'show' | 'warn' | (string & {})>(),
|
|
40
42
|
});
|
|
41
43
|
const _feedViewPrefSchema = /*#__PURE__*/ v.object({
|
|
42
44
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#feedViewPref')),
|
|
43
45
|
feed: /*#__PURE__*/ v.string(),
|
|
46
|
+
hideQuotePosts: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
44
47
|
hideReplies: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
45
|
-
hideRepliesByUnfollowed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), true),
|
|
46
48
|
hideRepliesByLikeCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
49
|
+
hideRepliesByUnfollowed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), true),
|
|
47
50
|
hideReposts: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
48
|
-
hideQuotePosts: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
49
51
|
});
|
|
50
52
|
const _hiddenPostsPrefSchema = /*#__PURE__*/ v.object({
|
|
51
53
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#hiddenPostsPref')),
|
|
@@ -54,7 +56,7 @@ const _hiddenPostsPrefSchema = /*#__PURE__*/ v.object({
|
|
|
54
56
|
const _interestsPrefSchema = /*#__PURE__*/ v.object({
|
|
55
57
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#interestsPref')),
|
|
56
58
|
tags: /*#__PURE__*/ v.constrain(
|
|
57
|
-
v.array(
|
|
59
|
+
/*#__PURE__*/ v.array(
|
|
58
60
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
59
61
|
/*#__PURE__*/ v.stringLength(0, 640),
|
|
60
62
|
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
@@ -67,7 +69,9 @@ const _knownFollowersSchema = /*#__PURE__*/ v.object({
|
|
|
67
69
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#knownFollowers')),
|
|
68
70
|
count: /*#__PURE__*/ v.integer(),
|
|
69
71
|
get followers() {
|
|
70
|
-
return /*#__PURE__*/ v.constrain(v.array(profileViewBasicSchema), [
|
|
72
|
+
return /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(profileViewBasicSchema), [
|
|
73
|
+
/*#__PURE__*/ v.arrayLength(0, 5),
|
|
74
|
+
]);
|
|
71
75
|
},
|
|
72
76
|
});
|
|
73
77
|
const _labelerPrefItemSchema = /*#__PURE__*/ v.object({
|
|
@@ -82,19 +86,19 @@ const _labelersPrefSchema = /*#__PURE__*/ v.object({
|
|
|
82
86
|
});
|
|
83
87
|
const _mutedWordSchema = /*#__PURE__*/ v.object({
|
|
84
88
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#mutedWord')),
|
|
85
|
-
id: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
86
|
-
value: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
87
|
-
/*#__PURE__*/ v.stringLength(0, 10000),
|
|
88
|
-
/*#__PURE__*/ v.stringGraphemes(0, 1000),
|
|
89
|
-
]),
|
|
90
|
-
get targets() {
|
|
91
|
-
return /*#__PURE__*/ v.array(mutedWordTargetSchema);
|
|
92
|
-
},
|
|
93
89
|
actorTarget: /*#__PURE__*/ v.optional(
|
|
94
90
|
/*#__PURE__*/ v.string<'all' | 'exclude-following' | (string & {})>(),
|
|
95
91
|
'all',
|
|
96
92
|
),
|
|
97
93
|
expiresAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
94
|
+
id: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
95
|
+
get targets() {
|
|
96
|
+
return /*#__PURE__*/ v.array(mutedWordTargetSchema);
|
|
97
|
+
},
|
|
98
|
+
value: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
99
|
+
/*#__PURE__*/ v.stringLength(0, 10000),
|
|
100
|
+
/*#__PURE__*/ v.stringGraphemes(0, 1000),
|
|
101
|
+
]),
|
|
98
102
|
});
|
|
99
103
|
const _mutedWordTargetSchema = /*#__PURE__*/ v.constrain(
|
|
100
104
|
/*#__PURE__*/ v.string<'content' | 'tag' | (string & {})>(),
|
|
@@ -108,7 +112,6 @@ const _mutedWordsPrefSchema = /*#__PURE__*/ v.object({
|
|
|
108
112
|
});
|
|
109
113
|
const _nuxSchema = /*#__PURE__*/ v.object({
|
|
110
114
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#nux')),
|
|
111
|
-
id: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 100)]),
|
|
112
115
|
completed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), false),
|
|
113
116
|
data: /*#__PURE__*/ v.optional(
|
|
114
117
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
@@ -117,6 +120,7 @@ const _nuxSchema = /*#__PURE__*/ v.object({
|
|
|
117
120
|
]),
|
|
118
121
|
),
|
|
119
122
|
expiresAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
123
|
+
id: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 100)]),
|
|
120
124
|
});
|
|
121
125
|
const _personalDetailsPrefSchema = /*#__PURE__*/ v.object({
|
|
122
126
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#personalDetailsPref')),
|
|
@@ -124,175 +128,176 @@ const _personalDetailsPrefSchema = /*#__PURE__*/ v.object({
|
|
|
124
128
|
});
|
|
125
129
|
const _postInteractionSettingsPrefSchema = /*#__PURE__*/ v.object({
|
|
126
130
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#postInteractionSettingsPref')),
|
|
131
|
+
get postgateEmbeddingRules() {
|
|
132
|
+
return /*#__PURE__*/ v.optional(
|
|
133
|
+
/*#__PURE__*/ v.constrain(
|
|
134
|
+
/*#__PURE__*/ v.array(/*#__PURE__*/ v.variant([AppBskyFeedPostgate.disableRuleSchema])),
|
|
135
|
+
[/*#__PURE__*/ v.arrayLength(0, 5)],
|
|
136
|
+
),
|
|
137
|
+
);
|
|
138
|
+
},
|
|
127
139
|
get threadgateAllowRules() {
|
|
128
140
|
return /*#__PURE__*/ v.optional(
|
|
129
141
|
/*#__PURE__*/ v.constrain(
|
|
130
|
-
v.array(
|
|
142
|
+
/*#__PURE__*/ v.array(
|
|
131
143
|
/*#__PURE__*/ v.variant([
|
|
132
|
-
AppBskyFeedThreadgate.mentionRuleSchema,
|
|
133
144
|
AppBskyFeedThreadgate.followerRuleSchema,
|
|
134
145
|
AppBskyFeedThreadgate.followingRuleSchema,
|
|
135
146
|
AppBskyFeedThreadgate.listRuleSchema,
|
|
147
|
+
AppBskyFeedThreadgate.mentionRuleSchema,
|
|
136
148
|
]),
|
|
137
149
|
),
|
|
138
150
|
[/*#__PURE__*/ v.arrayLength(0, 5)],
|
|
139
151
|
),
|
|
140
152
|
);
|
|
141
153
|
},
|
|
142
|
-
get postgateEmbeddingRules() {
|
|
143
|
-
return /*#__PURE__*/ v.optional(
|
|
144
|
-
/*#__PURE__*/ v.constrain(v.array(/*#__PURE__*/ v.variant([AppBskyFeedPostgate.disableRuleSchema])), [
|
|
145
|
-
/*#__PURE__*/ v.arrayLength(0, 5),
|
|
146
|
-
]),
|
|
147
|
-
);
|
|
148
|
-
},
|
|
149
154
|
});
|
|
150
155
|
const _preferencesSchema = /*#__PURE__*/ v.array(() => {
|
|
151
156
|
return /*#__PURE__*/ v.variant([
|
|
152
157
|
adultContentPrefSchema,
|
|
158
|
+
bskyAppStatePrefSchema,
|
|
153
159
|
contentLabelPrefSchema,
|
|
154
|
-
savedFeedsPrefSchema,
|
|
155
|
-
savedFeedsPrefV2Schema,
|
|
156
|
-
personalDetailsPrefSchema,
|
|
157
160
|
feedViewPrefSchema,
|
|
158
|
-
threadViewPrefSchema,
|
|
159
|
-
interestsPrefSchema,
|
|
160
|
-
mutedWordsPrefSchema,
|
|
161
161
|
hiddenPostsPrefSchema,
|
|
162
|
-
|
|
162
|
+
interestsPrefSchema,
|
|
163
163
|
labelersPrefSchema,
|
|
164
|
+
mutedWordsPrefSchema,
|
|
165
|
+
personalDetailsPrefSchema,
|
|
164
166
|
postInteractionSettingsPrefSchema,
|
|
167
|
+
savedFeedsPrefSchema,
|
|
168
|
+
savedFeedsPrefV2Schema,
|
|
169
|
+
threadViewPrefSchema,
|
|
165
170
|
verificationPrefsSchema,
|
|
166
171
|
]);
|
|
167
172
|
});
|
|
168
173
|
const _profileAssociatedSchema = /*#__PURE__*/ v.object({
|
|
169
174
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileAssociated')),
|
|
170
|
-
lists: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
171
|
-
feedgens: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
172
|
-
starterPacks: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
173
|
-
labeler: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
174
175
|
get chat() {
|
|
175
176
|
return /*#__PURE__*/ v.optional(profileAssociatedChatSchema);
|
|
176
177
|
},
|
|
178
|
+
feedgens: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
179
|
+
labeler: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
180
|
+
lists: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
181
|
+
starterPacks: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
177
182
|
});
|
|
178
183
|
const _profileAssociatedChatSchema = /*#__PURE__*/ v.object({
|
|
179
184
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileAssociatedChat')),
|
|
180
|
-
allowIncoming: /*#__PURE__*/ v.string<'all' | '
|
|
185
|
+
allowIncoming: /*#__PURE__*/ v.string<'all' | 'following' | 'none' | (string & {})>(),
|
|
181
186
|
});
|
|
182
187
|
const _profileViewSchema = /*#__PURE__*/ v.object({
|
|
183
188
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileView')),
|
|
189
|
+
get associated() {
|
|
190
|
+
return /*#__PURE__*/ v.optional(profileAssociatedSchema);
|
|
191
|
+
},
|
|
192
|
+
avatar: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
193
|
+
createdAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
194
|
+
description: /*#__PURE__*/ v.optional(
|
|
195
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
196
|
+
/*#__PURE__*/ v.stringLength(0, 2560),
|
|
197
|
+
/*#__PURE__*/ v.stringGraphemes(0, 256),
|
|
198
|
+
]),
|
|
199
|
+
),
|
|
184
200
|
did: /*#__PURE__*/ v.didString(),
|
|
185
|
-
handle: /*#__PURE__*/ v.handleString(),
|
|
186
201
|
displayName: /*#__PURE__*/ v.optional(
|
|
187
202
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
188
203
|
/*#__PURE__*/ v.stringLength(0, 640),
|
|
189
204
|
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
190
205
|
]),
|
|
191
206
|
),
|
|
192
|
-
|
|
193
|
-
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
194
|
-
/*#__PURE__*/ v.stringLength(0, 2560),
|
|
195
|
-
/*#__PURE__*/ v.stringGraphemes(0, 256),
|
|
196
|
-
]),
|
|
197
|
-
),
|
|
198
|
-
avatar: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
199
|
-
get associated() {
|
|
200
|
-
return /*#__PURE__*/ v.optional(profileAssociatedSchema);
|
|
201
|
-
},
|
|
207
|
+
handle: /*#__PURE__*/ v.handleString(),
|
|
202
208
|
indexedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
203
|
-
createdAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
204
|
-
get viewer() {
|
|
205
|
-
return /*#__PURE__*/ v.optional(viewerStateSchema);
|
|
206
|
-
},
|
|
207
209
|
get labels() {
|
|
208
210
|
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(ComAtprotoLabelDefs.labelSchema));
|
|
209
211
|
},
|
|
212
|
+
get status() {
|
|
213
|
+
return /*#__PURE__*/ v.optional(statusViewSchema);
|
|
214
|
+
},
|
|
210
215
|
get verification() {
|
|
211
216
|
return /*#__PURE__*/ v.optional(verificationStateSchema);
|
|
212
217
|
},
|
|
213
|
-
get
|
|
214
|
-
return /*#__PURE__*/ v.optional(
|
|
218
|
+
get viewer() {
|
|
219
|
+
return /*#__PURE__*/ v.optional(viewerStateSchema);
|
|
215
220
|
},
|
|
216
221
|
});
|
|
217
222
|
const _profileViewBasicSchema = /*#__PURE__*/ v.object({
|
|
218
223
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileViewBasic')),
|
|
224
|
+
get associated() {
|
|
225
|
+
return /*#__PURE__*/ v.optional(profileAssociatedSchema);
|
|
226
|
+
},
|
|
227
|
+
avatar: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
228
|
+
createdAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
219
229
|
did: /*#__PURE__*/ v.didString(),
|
|
220
|
-
handle: /*#__PURE__*/ v.handleString(),
|
|
221
230
|
displayName: /*#__PURE__*/ v.optional(
|
|
222
231
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
223
232
|
/*#__PURE__*/ v.stringLength(0, 640),
|
|
224
233
|
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
225
234
|
]),
|
|
226
235
|
),
|
|
227
|
-
|
|
228
|
-
get associated() {
|
|
229
|
-
return /*#__PURE__*/ v.optional(profileAssociatedSchema);
|
|
230
|
-
},
|
|
231
|
-
get viewer() {
|
|
232
|
-
return /*#__PURE__*/ v.optional(viewerStateSchema);
|
|
233
|
-
},
|
|
236
|
+
handle: /*#__PURE__*/ v.handleString(),
|
|
234
237
|
get labels() {
|
|
235
238
|
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(ComAtprotoLabelDefs.labelSchema));
|
|
236
239
|
},
|
|
237
|
-
|
|
240
|
+
get status() {
|
|
241
|
+
return /*#__PURE__*/ v.optional(statusViewSchema);
|
|
242
|
+
},
|
|
238
243
|
get verification() {
|
|
239
244
|
return /*#__PURE__*/ v.optional(verificationStateSchema);
|
|
240
245
|
},
|
|
241
|
-
get
|
|
242
|
-
return /*#__PURE__*/ v.optional(
|
|
246
|
+
get viewer() {
|
|
247
|
+
return /*#__PURE__*/ v.optional(viewerStateSchema);
|
|
243
248
|
},
|
|
244
249
|
});
|
|
245
250
|
const _profileViewDetailedSchema = /*#__PURE__*/ v.object({
|
|
246
251
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileViewDetailed')),
|
|
252
|
+
get associated() {
|
|
253
|
+
return /*#__PURE__*/ v.optional(profileAssociatedSchema);
|
|
254
|
+
},
|
|
255
|
+
avatar: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
256
|
+
banner: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
257
|
+
createdAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
258
|
+
description: /*#__PURE__*/ v.optional(
|
|
259
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
260
|
+
/*#__PURE__*/ v.stringLength(0, 2560),
|
|
261
|
+
/*#__PURE__*/ v.stringGraphemes(0, 256),
|
|
262
|
+
]),
|
|
263
|
+
),
|
|
247
264
|
did: /*#__PURE__*/ v.didString(),
|
|
248
|
-
handle: /*#__PURE__*/ v.handleString(),
|
|
249
265
|
displayName: /*#__PURE__*/ v.optional(
|
|
250
266
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
251
267
|
/*#__PURE__*/ v.stringLength(0, 640),
|
|
252
268
|
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
253
269
|
]),
|
|
254
270
|
),
|
|
255
|
-
description: /*#__PURE__*/ v.optional(
|
|
256
|
-
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
257
|
-
/*#__PURE__*/ v.stringLength(0, 2560),
|
|
258
|
-
/*#__PURE__*/ v.stringGraphemes(0, 256),
|
|
259
|
-
]),
|
|
260
|
-
),
|
|
261
|
-
avatar: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
262
|
-
banner: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
263
271
|
followersCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
264
272
|
followsCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
return /*#__PURE__*/ v.optional(profileAssociatedSchema);
|
|
268
|
-
},
|
|
273
|
+
handle: /*#__PURE__*/ v.handleString(),
|
|
274
|
+
indexedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
269
275
|
get joinedViaStarterPack() {
|
|
270
276
|
return /*#__PURE__*/ v.optional(AppBskyGraphDefs.starterPackViewBasicSchema);
|
|
271
277
|
},
|
|
272
|
-
indexedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
273
|
-
createdAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
274
|
-
get viewer() {
|
|
275
|
-
return /*#__PURE__*/ v.optional(viewerStateSchema);
|
|
276
|
-
},
|
|
277
278
|
get labels() {
|
|
278
279
|
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(ComAtprotoLabelDefs.labelSchema));
|
|
279
280
|
},
|
|
280
281
|
get pinnedPost() {
|
|
281
282
|
return /*#__PURE__*/ v.optional(ComAtprotoRepoStrongRef.mainSchema);
|
|
282
283
|
},
|
|
284
|
+
postsCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
285
|
+
get status() {
|
|
286
|
+
return /*#__PURE__*/ v.optional(statusViewSchema);
|
|
287
|
+
},
|
|
283
288
|
get verification() {
|
|
284
289
|
return /*#__PURE__*/ v.optional(verificationStateSchema);
|
|
285
290
|
},
|
|
286
|
-
get
|
|
287
|
-
return /*#__PURE__*/ v.optional(
|
|
291
|
+
get viewer() {
|
|
292
|
+
return /*#__PURE__*/ v.optional(viewerStateSchema);
|
|
288
293
|
},
|
|
289
294
|
});
|
|
290
295
|
const _savedFeedSchema = /*#__PURE__*/ v.object({
|
|
291
296
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#savedFeed')),
|
|
292
297
|
id: /*#__PURE__*/ v.string(),
|
|
298
|
+
pinned: /*#__PURE__*/ v.boolean(),
|
|
293
299
|
type: /*#__PURE__*/ v.string<'feed' | 'list' | 'timeline' | (string & {})>(),
|
|
294
300
|
value: /*#__PURE__*/ v.string(),
|
|
295
|
-
pinned: /*#__PURE__*/ v.boolean(),
|
|
296
301
|
});
|
|
297
302
|
const _savedFeedsPrefSchema = /*#__PURE__*/ v.object({
|
|
298
303
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#savedFeedsPref')),
|
|
@@ -308,20 +313,20 @@ const _savedFeedsPrefV2Schema = /*#__PURE__*/ v.object({
|
|
|
308
313
|
});
|
|
309
314
|
const _statusViewSchema = /*#__PURE__*/ v.object({
|
|
310
315
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#statusView')),
|
|
311
|
-
status: /*#__PURE__*/ v.string<'app.bsky.actor.status#live' | (string & {})>(),
|
|
312
|
-
record: /*#__PURE__*/ v.unknown(),
|
|
313
316
|
get embed() {
|
|
314
317
|
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.variant([AppBskyEmbedExternal.viewSchema]));
|
|
315
318
|
},
|
|
316
319
|
expiresAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
317
320
|
isActive: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
321
|
+
record: /*#__PURE__*/ v.unknown(),
|
|
322
|
+
status: /*#__PURE__*/ v.string<'app.bsky.actor.status#live' | (string & {})>(),
|
|
318
323
|
});
|
|
319
324
|
const _threadViewPrefSchema = /*#__PURE__*/ v.object({
|
|
320
325
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#threadViewPref')),
|
|
326
|
+
prioritizeFollowedUsers: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
321
327
|
sort: /*#__PURE__*/ v.optional(
|
|
322
|
-
/*#__PURE__*/ v.string<'
|
|
328
|
+
/*#__PURE__*/ v.string<'hotness' | 'most-likes' | 'newest' | 'oldest' | 'random' | (string & {})>(),
|
|
323
329
|
),
|
|
324
|
-
prioritizeFollowedUsers: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
325
330
|
});
|
|
326
331
|
const _verificationPrefsSchema = /*#__PURE__*/ v.object({
|
|
327
332
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#verificationPrefs')),
|
|
@@ -329,35 +334,35 @@ const _verificationPrefsSchema = /*#__PURE__*/ v.object({
|
|
|
329
334
|
});
|
|
330
335
|
const _verificationStateSchema = /*#__PURE__*/ v.object({
|
|
331
336
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#verificationState')),
|
|
337
|
+
trustedVerifierStatus: /*#__PURE__*/ v.string<'invalid' | 'none' | 'valid' | (string & {})>(),
|
|
332
338
|
get verifications() {
|
|
333
339
|
return /*#__PURE__*/ v.array(verificationViewSchema);
|
|
334
340
|
},
|
|
335
|
-
verifiedStatus: /*#__PURE__*/ v.string<'
|
|
336
|
-
trustedVerifierStatus: /*#__PURE__*/ v.string<'valid' | 'invalid' | 'none' | (string & {})>(),
|
|
341
|
+
verifiedStatus: /*#__PURE__*/ v.string<'invalid' | 'none' | 'valid' | (string & {})>(),
|
|
337
342
|
});
|
|
338
343
|
const _verificationViewSchema = /*#__PURE__*/ v.object({
|
|
339
344
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#verificationView')),
|
|
345
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
346
|
+
isValid: /*#__PURE__*/ v.boolean(),
|
|
340
347
|
issuer: /*#__PURE__*/ v.didString(),
|
|
341
348
|
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
342
|
-
isValid: /*#__PURE__*/ v.boolean(),
|
|
343
|
-
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
344
349
|
});
|
|
345
350
|
const _viewerStateSchema = /*#__PURE__*/ v.object({
|
|
346
351
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#viewerState')),
|
|
347
|
-
muted: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
348
|
-
get mutedByList() {
|
|
349
|
-
return /*#__PURE__*/ v.optional(AppBskyGraphDefs.listViewBasicSchema);
|
|
350
|
-
},
|
|
351
352
|
blockedBy: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
352
353
|
blocking: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
353
354
|
get blockingByList() {
|
|
354
355
|
return /*#__PURE__*/ v.optional(AppBskyGraphDefs.listViewBasicSchema);
|
|
355
356
|
},
|
|
356
|
-
following: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
357
357
|
followedBy: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
358
|
+
following: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
358
359
|
get knownFollowers() {
|
|
359
360
|
return /*#__PURE__*/ v.optional(knownFollowersSchema);
|
|
360
361
|
},
|
|
362
|
+
muted: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
363
|
+
get mutedByList() {
|
|
364
|
+
return /*#__PURE__*/ v.optional(AppBskyGraphDefs.listViewBasicSchema);
|
|
365
|
+
},
|
|
361
366
|
});
|
|
362
367
|
|
|
363
368
|
type adultContentPref$schematype = typeof _adultContentPrefSchema;
|
|
@@ -5,7 +5,7 @@ import * as AppBskyActorDefs from './defs.js';
|
|
|
5
5
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.actor.getProfiles', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
|
-
actors: /*#__PURE__*/ v.constrain(v.array(/*#__PURE__*/ v.actorIdentifierString()), [
|
|
8
|
+
actors: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.actorIdentifierString()), [
|
|
9
9
|
/*#__PURE__*/ v.arrayLength(0, 25),
|
|
10
10
|
]),
|
|
11
11
|
}),
|
|
@@ -5,19 +5,19 @@ import * as AppBskyActorDefs from './defs.js';
|
|
|
5
5
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.actor.getSuggestions', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
9
|
limit: /*#__PURE__*/ v.optional(
|
|
9
10
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
10
11
|
50,
|
|
11
12
|
),
|
|
12
|
-
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
13
13
|
}),
|
|
14
14
|
output: {
|
|
15
15
|
type: 'lex',
|
|
16
16
|
schema: /*#__PURE__*/ v.object({
|
|
17
|
-
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
18
17
|
get actors() {
|
|
19
18
|
return /*#__PURE__*/ v.array(AppBskyActorDefs.profileViewSchema);
|
|
20
19
|
},
|
|
20
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
21
21
|
recId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
22
22
|
}),
|
|
23
23
|
},
|
|
@@ -8,30 +8,30 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
8
8
|
/*#__PURE__*/ v.literal('self'),
|
|
9
9
|
/*#__PURE__*/ v.object({
|
|
10
10
|
$type: /*#__PURE__*/ v.literal('app.bsky.actor.profile'),
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
15
|
-
]),
|
|
16
|
-
),
|
|
11
|
+
avatar: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.blob()),
|
|
12
|
+
banner: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.blob()),
|
|
13
|
+
createdAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
17
14
|
description: /*#__PURE__*/ v.optional(
|
|
18
15
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
19
16
|
/*#__PURE__*/ v.stringLength(0, 2560),
|
|
20
17
|
/*#__PURE__*/ v.stringGraphemes(0, 256),
|
|
21
18
|
]),
|
|
22
19
|
),
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
displayName: /*#__PURE__*/ v.optional(
|
|
21
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
22
|
+
/*#__PURE__*/ v.stringLength(0, 640),
|
|
23
|
+
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
24
|
+
]),
|
|
25
|
+
),
|
|
28
26
|
get joinedViaStarterPack() {
|
|
29
27
|
return /*#__PURE__*/ v.optional(ComAtprotoRepoStrongRef.mainSchema);
|
|
30
28
|
},
|
|
29
|
+
get labels() {
|
|
30
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.variant([ComAtprotoLabelDefs.selfLabelsSchema]));
|
|
31
|
+
},
|
|
31
32
|
get pinnedPost() {
|
|
32
33
|
return /*#__PURE__*/ v.optional(ComAtprotoRepoStrongRef.mainSchema);
|
|
33
34
|
},
|
|
34
|
-
createdAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
35
35
|
}),
|
|
36
36
|
);
|
|
37
37
|
|
|
@@ -5,21 +5,21 @@ import * as AppBskyActorDefs from './defs.js';
|
|
|
5
5
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.actor.searchActors', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
|
-
|
|
9
|
-
q: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
9
|
limit: /*#__PURE__*/ v.optional(
|
|
11
10
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
12
11
|
25,
|
|
13
12
|
),
|
|
14
|
-
|
|
13
|
+
q: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
|
+
term: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
15
|
}),
|
|
16
16
|
output: {
|
|
17
17
|
type: 'lex',
|
|
18
18
|
schema: /*#__PURE__*/ v.object({
|
|
19
|
-
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
20
19
|
get actors() {
|
|
21
20
|
return /*#__PURE__*/ v.array(AppBskyActorDefs.profileViewSchema);
|
|
22
21
|
},
|
|
22
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
23
23
|
}),
|
|
24
24
|
},
|
|
25
25
|
});
|
|
@@ -5,12 +5,12 @@ import * as AppBskyActorDefs from './defs.js';
|
|
|
5
5
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.actor.searchActorsTypeahead', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
|
-
term: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
|
-
q: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
8
|
limit: /*#__PURE__*/ v.optional(
|
|
11
9
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
12
10
|
10,
|
|
13
11
|
),
|
|
12
|
+
q: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
13
|
+
term: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
14
|
}),
|
|
15
15
|
output: {
|
|
16
16
|
type: 'lex',
|
|
@@ -8,14 +8,14 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
8
8
|
/*#__PURE__*/ v.literal('self'),
|
|
9
9
|
/*#__PURE__*/ v.object({
|
|
10
10
|
$type: /*#__PURE__*/ v.literal('app.bsky.actor.status'),
|
|
11
|
-
|
|
12
|
-
get embed() {
|
|
13
|
-
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.variant([AppBskyEmbedExternal.mainSchema]));
|
|
14
|
-
},
|
|
11
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
15
12
|
durationMinutes: /*#__PURE__*/ v.optional(
|
|
16
13
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1)]),
|
|
17
14
|
),
|
|
18
|
-
|
|
15
|
+
get embed() {
|
|
16
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.variant([AppBskyEmbedExternal.mainSchema]));
|
|
17
|
+
},
|
|
18
|
+
status: /*#__PURE__*/ v.string<'app.bsky.actor.status#live' | (string & {})>(),
|
|
19
19
|
}),
|
|
20
20
|
);
|
|
21
21
|
|
|
@@ -3,8 +3,8 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
3
3
|
|
|
4
4
|
const _aspectRatioSchema = /*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.defs#aspectRatio')),
|
|
6
|
-
width: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1)]),
|
|
7
6
|
height: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1)]),
|
|
7
|
+
width: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1)]),
|
|
8
8
|
});
|
|
9
9
|
|
|
10
10
|
type aspectRatio$schematype = typeof _aspectRatioSchema;
|
|
@@ -3,10 +3,10 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
3
3
|
|
|
4
4
|
const _externalSchema = /*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external#external')),
|
|
6
|
-
uri: /*#__PURE__*/ v.genericUriString(),
|
|
7
|
-
title: /*#__PURE__*/ v.string(),
|
|
8
6
|
description: /*#__PURE__*/ v.string(),
|
|
9
7
|
thumb: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.blob()),
|
|
8
|
+
title: /*#__PURE__*/ v.string(),
|
|
9
|
+
uri: /*#__PURE__*/ v.genericUriString(),
|
|
10
10
|
});
|
|
11
11
|
const _mainSchema = /*#__PURE__*/ v.object({
|
|
12
12
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external')),
|
|
@@ -22,10 +22,10 @@ const _viewSchema = /*#__PURE__*/ v.object({
|
|
|
22
22
|
});
|
|
23
23
|
const _viewExternalSchema = /*#__PURE__*/ v.object({
|
|
24
24
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external#viewExternal')),
|
|
25
|
-
uri: /*#__PURE__*/ v.genericUriString(),
|
|
26
|
-
title: /*#__PURE__*/ v.string(),
|
|
27
25
|
description: /*#__PURE__*/ v.string(),
|
|
28
26
|
thumb: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
27
|
+
title: /*#__PURE__*/ v.string(),
|
|
28
|
+
uri: /*#__PURE__*/ v.genericUriString(),
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
type external$schematype = typeof _externalSchema;
|
|
@@ -4,32 +4,34 @@ import * as AppBskyEmbedDefs from './defs.js';
|
|
|
4
4
|
|
|
5
5
|
const _imageSchema = /*#__PURE__*/ v.object({
|
|
6
6
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.images#image')),
|
|
7
|
-
image: /*#__PURE__*/ v.blob(),
|
|
8
7
|
alt: /*#__PURE__*/ v.string(),
|
|
9
8
|
get aspectRatio() {
|
|
10
9
|
return /*#__PURE__*/ v.optional(AppBskyEmbedDefs.aspectRatioSchema);
|
|
11
10
|
},
|
|
11
|
+
image: /*#__PURE__*/ v.blob(),
|
|
12
12
|
});
|
|
13
13
|
const _mainSchema = /*#__PURE__*/ v.object({
|
|
14
14
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.images')),
|
|
15
15
|
get images() {
|
|
16
|
-
return /*#__PURE__*/ v.constrain(v.array(imageSchema), [/*#__PURE__*/ v.arrayLength(0, 4)]);
|
|
16
|
+
return /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(imageSchema), [/*#__PURE__*/ v.arrayLength(0, 4)]);
|
|
17
17
|
},
|
|
18
18
|
});
|
|
19
19
|
const _viewSchema = /*#__PURE__*/ v.object({
|
|
20
20
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.images#view')),
|
|
21
21
|
get images() {
|
|
22
|
-
return /*#__PURE__*/ v.constrain(v.array(viewImageSchema), [
|
|
22
|
+
return /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(viewImageSchema), [
|
|
23
|
+
/*#__PURE__*/ v.arrayLength(0, 4),
|
|
24
|
+
]);
|
|
23
25
|
},
|
|
24
26
|
});
|
|
25
27
|
const _viewImageSchema = /*#__PURE__*/ v.object({
|
|
26
28
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.images#viewImage')),
|
|
27
|
-
thumb: /*#__PURE__*/ v.genericUriString(),
|
|
28
|
-
fullsize: /*#__PURE__*/ v.genericUriString(),
|
|
29
29
|
alt: /*#__PURE__*/ v.string(),
|
|
30
30
|
get aspectRatio() {
|
|
31
31
|
return /*#__PURE__*/ v.optional(AppBskyEmbedDefs.aspectRatioSchema);
|
|
32
32
|
},
|
|
33
|
+
fullsize: /*#__PURE__*/ v.genericUriString(),
|
|
34
|
+
thumb: /*#__PURE__*/ v.genericUriString(),
|
|
33
35
|
});
|
|
34
36
|
|
|
35
37
|
type image$schematype = typeof _imageSchema;
|