@atcute/bluesky 3.0.1 → 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 +89 -89
- package/dist/lexicons/types/app/bsky/actor/defs.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 +3 -3
- 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/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 +21 -21
- 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 +1 -1
- 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 +2 -2
- 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 +40 -40
- 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 +1 -1
- package/dist/lexicons/types/app/bsky/graph/getRelationships.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 +6 -6
- 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/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/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/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/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/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 +101 -101
- 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 +3 -3
- 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/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 +21 -21
- package/lib/lexicons/types/app/bsky/feed/postgate.ts +1 -1
- 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 +2 -2
- package/lib/lexicons/types/app/bsky/graph/block.ts +1 -1
- package/lib/lexicons/types/app/bsky/graph/defs.ts +42 -42
- 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 +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 +6 -6
- 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/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/chat/bsky/actor/declaration.ts +1 -1
- package/lib/lexicons/types/chat/bsky/actor/defs.ts +9 -9
- package/lib/lexicons/types/chat/bsky/convo/defs.ts +39 -39
- 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/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 +4 -4
|
@@ -2,10 +2,10 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
import * as ChatBskyConvoDefs from '../convo/defs.js';
|
|
3
3
|
const _mainSchema = /*#__PURE__*/ v.query('chat.bsky.moderation.getMessageContext', {
|
|
4
4
|
params: /*#__PURE__*/ v.object({
|
|
5
|
+
after: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer(), 5),
|
|
6
|
+
before: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer(), 5),
|
|
5
7
|
convoId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
6
8
|
messageId: /*#__PURE__*/ v.string(),
|
|
7
|
-
before: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer(), 5),
|
|
8
|
-
after: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer(), 5),
|
|
9
9
|
}),
|
|
10
10
|
output: {
|
|
11
11
|
type: 'lex',
|
|
@@ -13,8 +13,8 @@ const _mainSchema = /*#__PURE__*/ v.query('chat.bsky.moderation.getMessageContex
|
|
|
13
13
|
get messages() {
|
|
14
14
|
return /*#__PURE__*/ v.array(
|
|
15
15
|
/*#__PURE__*/ v.variant([
|
|
16
|
-
ChatBskyConvoDefs.messageViewSchema,
|
|
17
16
|
ChatBskyConvoDefs.deletedMessageViewSchema,
|
|
17
|
+
ChatBskyConvoDefs.messageViewSchema,
|
|
18
18
|
]));
|
|
19
19
|
},
|
|
20
20
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMessageContext.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/chat/bsky/moderation/getMessageContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,iBAAiB,MAAM,kBAAkB,CAAC;AAEtD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,wCAAwC,EAAE;IACnF,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,
|
|
1
|
+
{"version":3,"file":"getMessageContext.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/chat/bsky/moderation/getMessageContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,iBAAiB,MAAM,kBAAkB,CAAC;AAEtD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,wCAAwC,EAAE;IACnF,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QAC7D,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QAC9D,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;QAC3D,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;KACnC,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,QAAQ;gBACX,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK;gBAC3B,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC;oBACvB,iBAAiB,CAAC,wBAAwB;oBAC1C,iBAAiB,CAAC,iBAAiB;iBACnC,CAAC,CACF,CAAC;YACH,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -20,6 +20,11 @@ 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(
|
|
@@ -28,26 +33,21 @@ const _bskyAppStatePrefSchema = /*#__PURE__*/ v.object({
|
|
|
28
33
|
[/*#__PURE__*/ v.arrayLength(0, 1000)],
|
|
29
34
|
),
|
|
30
35
|
),
|
|
31
|
-
get nuxs() {
|
|
32
|
-
return /*#__PURE__*/ v.optional(
|
|
33
|
-
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(nuxSchema), [/*#__PURE__*/ v.arrayLength(0, 100)]),
|
|
34
|
-
);
|
|
35
|
-
},
|
|
36
36
|
});
|
|
37
37
|
const _contentLabelPrefSchema = /*#__PURE__*/ v.object({
|
|
38
38
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#contentLabelPref')),
|
|
39
|
-
labelerDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
40
39
|
label: /*#__PURE__*/ v.string(),
|
|
41
|
-
|
|
40
|
+
labelerDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
41
|
+
visibility: /*#__PURE__*/ v.string<'hide' | 'ignore' | 'show' | 'warn' | (string & {})>(),
|
|
42
42
|
});
|
|
43
43
|
const _feedViewPrefSchema = /*#__PURE__*/ v.object({
|
|
44
44
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#feedViewPref')),
|
|
45
45
|
feed: /*#__PURE__*/ v.string(),
|
|
46
|
+
hideQuotePosts: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
46
47
|
hideReplies: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
47
|
-
hideRepliesByUnfollowed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), true),
|
|
48
48
|
hideRepliesByLikeCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
49
|
+
hideRepliesByUnfollowed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), true),
|
|
49
50
|
hideReposts: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
50
|
-
hideQuotePosts: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
51
51
|
});
|
|
52
52
|
const _hiddenPostsPrefSchema = /*#__PURE__*/ v.object({
|
|
53
53
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#hiddenPostsPref')),
|
|
@@ -86,19 +86,19 @@ const _labelersPrefSchema = /*#__PURE__*/ v.object({
|
|
|
86
86
|
});
|
|
87
87
|
const _mutedWordSchema = /*#__PURE__*/ v.object({
|
|
88
88
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#mutedWord')),
|
|
89
|
-
id: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
90
|
-
value: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
91
|
-
/*#__PURE__*/ v.stringLength(0, 10000),
|
|
92
|
-
/*#__PURE__*/ v.stringGraphemes(0, 1000),
|
|
93
|
-
]),
|
|
94
|
-
get targets() {
|
|
95
|
-
return /*#__PURE__*/ v.array(mutedWordTargetSchema);
|
|
96
|
-
},
|
|
97
89
|
actorTarget: /*#__PURE__*/ v.optional(
|
|
98
90
|
/*#__PURE__*/ v.string<'all' | 'exclude-following' | (string & {})>(),
|
|
99
91
|
'all',
|
|
100
92
|
),
|
|
101
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
|
+
]),
|
|
102
102
|
});
|
|
103
103
|
const _mutedWordTargetSchema = /*#__PURE__*/ v.constrain(
|
|
104
104
|
/*#__PURE__*/ v.string<'content' | 'tag' | (string & {})>(),
|
|
@@ -112,7 +112,6 @@ const _mutedWordsPrefSchema = /*#__PURE__*/ v.object({
|
|
|
112
112
|
});
|
|
113
113
|
const _nuxSchema = /*#__PURE__*/ v.object({
|
|
114
114
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#nux')),
|
|
115
|
-
id: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 100)]),
|
|
116
115
|
completed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), false),
|
|
117
116
|
data: /*#__PURE__*/ v.optional(
|
|
118
117
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
@@ -121,6 +120,7 @@ const _nuxSchema = /*#__PURE__*/ v.object({
|
|
|
121
120
|
]),
|
|
122
121
|
),
|
|
123
122
|
expiresAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
123
|
+
id: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 100)]),
|
|
124
124
|
});
|
|
125
125
|
const _personalDetailsPrefSchema = /*#__PURE__*/ v.object({
|
|
126
126
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#personalDetailsPref')),
|
|
@@ -128,176 +128,176 @@ const _personalDetailsPrefSchema = /*#__PURE__*/ v.object({
|
|
|
128
128
|
});
|
|
129
129
|
const _postInteractionSettingsPrefSchema = /*#__PURE__*/ v.object({
|
|
130
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
|
+
},
|
|
131
139
|
get threadgateAllowRules() {
|
|
132
140
|
return /*#__PURE__*/ v.optional(
|
|
133
141
|
/*#__PURE__*/ v.constrain(
|
|
134
142
|
/*#__PURE__*/ v.array(
|
|
135
143
|
/*#__PURE__*/ v.variant([
|
|
136
|
-
AppBskyFeedThreadgate.mentionRuleSchema,
|
|
137
144
|
AppBskyFeedThreadgate.followerRuleSchema,
|
|
138
145
|
AppBskyFeedThreadgate.followingRuleSchema,
|
|
139
146
|
AppBskyFeedThreadgate.listRuleSchema,
|
|
147
|
+
AppBskyFeedThreadgate.mentionRuleSchema,
|
|
140
148
|
]),
|
|
141
149
|
),
|
|
142
150
|
[/*#__PURE__*/ v.arrayLength(0, 5)],
|
|
143
151
|
),
|
|
144
152
|
);
|
|
145
153
|
},
|
|
146
|
-
get postgateEmbeddingRules() {
|
|
147
|
-
return /*#__PURE__*/ v.optional(
|
|
148
|
-
/*#__PURE__*/ v.constrain(
|
|
149
|
-
/*#__PURE__*/ v.array(/*#__PURE__*/ v.variant([AppBskyFeedPostgate.disableRuleSchema])),
|
|
150
|
-
[/*#__PURE__*/ v.arrayLength(0, 5)],
|
|
151
|
-
),
|
|
152
|
-
);
|
|
153
|
-
},
|
|
154
154
|
});
|
|
155
155
|
const _preferencesSchema = /*#__PURE__*/ v.array(() => {
|
|
156
156
|
return /*#__PURE__*/ v.variant([
|
|
157
157
|
adultContentPrefSchema,
|
|
158
|
+
bskyAppStatePrefSchema,
|
|
158
159
|
contentLabelPrefSchema,
|
|
159
|
-
savedFeedsPrefSchema,
|
|
160
|
-
savedFeedsPrefV2Schema,
|
|
161
|
-
personalDetailsPrefSchema,
|
|
162
160
|
feedViewPrefSchema,
|
|
163
|
-
threadViewPrefSchema,
|
|
164
|
-
interestsPrefSchema,
|
|
165
|
-
mutedWordsPrefSchema,
|
|
166
161
|
hiddenPostsPrefSchema,
|
|
167
|
-
|
|
162
|
+
interestsPrefSchema,
|
|
168
163
|
labelersPrefSchema,
|
|
164
|
+
mutedWordsPrefSchema,
|
|
165
|
+
personalDetailsPrefSchema,
|
|
169
166
|
postInteractionSettingsPrefSchema,
|
|
167
|
+
savedFeedsPrefSchema,
|
|
168
|
+
savedFeedsPrefV2Schema,
|
|
169
|
+
threadViewPrefSchema,
|
|
170
170
|
verificationPrefsSchema,
|
|
171
171
|
]);
|
|
172
172
|
});
|
|
173
173
|
const _profileAssociatedSchema = /*#__PURE__*/ v.object({
|
|
174
174
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileAssociated')),
|
|
175
|
-
lists: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
176
|
-
feedgens: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
177
|
-
starterPacks: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
178
|
-
labeler: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
179
175
|
get chat() {
|
|
180
176
|
return /*#__PURE__*/ v.optional(profileAssociatedChatSchema);
|
|
181
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()),
|
|
182
182
|
});
|
|
183
183
|
const _profileAssociatedChatSchema = /*#__PURE__*/ v.object({
|
|
184
184
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileAssociatedChat')),
|
|
185
|
-
allowIncoming: /*#__PURE__*/ v.string<'all' | '
|
|
185
|
+
allowIncoming: /*#__PURE__*/ v.string<'all' | 'following' | 'none' | (string & {})>(),
|
|
186
186
|
});
|
|
187
187
|
const _profileViewSchema = /*#__PURE__*/ v.object({
|
|
188
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
|
+
),
|
|
189
200
|
did: /*#__PURE__*/ v.didString(),
|
|
190
|
-
handle: /*#__PURE__*/ v.handleString(),
|
|
191
201
|
displayName: /*#__PURE__*/ v.optional(
|
|
192
202
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
193
203
|
/*#__PURE__*/ v.stringLength(0, 640),
|
|
194
204
|
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
195
205
|
]),
|
|
196
206
|
),
|
|
197
|
-
|
|
198
|
-
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
199
|
-
/*#__PURE__*/ v.stringLength(0, 2560),
|
|
200
|
-
/*#__PURE__*/ v.stringGraphemes(0, 256),
|
|
201
|
-
]),
|
|
202
|
-
),
|
|
203
|
-
avatar: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
204
|
-
get associated() {
|
|
205
|
-
return /*#__PURE__*/ v.optional(profileAssociatedSchema);
|
|
206
|
-
},
|
|
207
|
+
handle: /*#__PURE__*/ v.handleString(),
|
|
207
208
|
indexedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
208
|
-
createdAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
209
|
-
get viewer() {
|
|
210
|
-
return /*#__PURE__*/ v.optional(viewerStateSchema);
|
|
211
|
-
},
|
|
212
209
|
get labels() {
|
|
213
210
|
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(ComAtprotoLabelDefs.labelSchema));
|
|
214
211
|
},
|
|
212
|
+
get status() {
|
|
213
|
+
return /*#__PURE__*/ v.optional(statusViewSchema);
|
|
214
|
+
},
|
|
215
215
|
get verification() {
|
|
216
216
|
return /*#__PURE__*/ v.optional(verificationStateSchema);
|
|
217
217
|
},
|
|
218
|
-
get
|
|
219
|
-
return /*#__PURE__*/ v.optional(
|
|
218
|
+
get viewer() {
|
|
219
|
+
return /*#__PURE__*/ v.optional(viewerStateSchema);
|
|
220
220
|
},
|
|
221
221
|
});
|
|
222
222
|
const _profileViewBasicSchema = /*#__PURE__*/ v.object({
|
|
223
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()),
|
|
224
229
|
did: /*#__PURE__*/ v.didString(),
|
|
225
|
-
handle: /*#__PURE__*/ v.handleString(),
|
|
226
230
|
displayName: /*#__PURE__*/ v.optional(
|
|
227
231
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
228
232
|
/*#__PURE__*/ v.stringLength(0, 640),
|
|
229
233
|
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
230
234
|
]),
|
|
231
235
|
),
|
|
232
|
-
|
|
233
|
-
get associated() {
|
|
234
|
-
return /*#__PURE__*/ v.optional(profileAssociatedSchema);
|
|
235
|
-
},
|
|
236
|
-
get viewer() {
|
|
237
|
-
return /*#__PURE__*/ v.optional(viewerStateSchema);
|
|
238
|
-
},
|
|
236
|
+
handle: /*#__PURE__*/ v.handleString(),
|
|
239
237
|
get labels() {
|
|
240
238
|
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(ComAtprotoLabelDefs.labelSchema));
|
|
241
239
|
},
|
|
242
|
-
|
|
240
|
+
get status() {
|
|
241
|
+
return /*#__PURE__*/ v.optional(statusViewSchema);
|
|
242
|
+
},
|
|
243
243
|
get verification() {
|
|
244
244
|
return /*#__PURE__*/ v.optional(verificationStateSchema);
|
|
245
245
|
},
|
|
246
|
-
get
|
|
247
|
-
return /*#__PURE__*/ v.optional(
|
|
246
|
+
get viewer() {
|
|
247
|
+
return /*#__PURE__*/ v.optional(viewerStateSchema);
|
|
248
248
|
},
|
|
249
249
|
});
|
|
250
250
|
const _profileViewDetailedSchema = /*#__PURE__*/ v.object({
|
|
251
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
|
+
),
|
|
252
264
|
did: /*#__PURE__*/ v.didString(),
|
|
253
|
-
handle: /*#__PURE__*/ v.handleString(),
|
|
254
265
|
displayName: /*#__PURE__*/ v.optional(
|
|
255
266
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
256
267
|
/*#__PURE__*/ v.stringLength(0, 640),
|
|
257
268
|
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
258
269
|
]),
|
|
259
270
|
),
|
|
260
|
-
description: /*#__PURE__*/ v.optional(
|
|
261
|
-
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
262
|
-
/*#__PURE__*/ v.stringLength(0, 2560),
|
|
263
|
-
/*#__PURE__*/ v.stringGraphemes(0, 256),
|
|
264
|
-
]),
|
|
265
|
-
),
|
|
266
|
-
avatar: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
267
|
-
banner: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
268
271
|
followersCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
269
272
|
followsCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
return /*#__PURE__*/ v.optional(profileAssociatedSchema);
|
|
273
|
-
},
|
|
273
|
+
handle: /*#__PURE__*/ v.handleString(),
|
|
274
|
+
indexedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
274
275
|
get joinedViaStarterPack() {
|
|
275
276
|
return /*#__PURE__*/ v.optional(AppBskyGraphDefs.starterPackViewBasicSchema);
|
|
276
277
|
},
|
|
277
|
-
indexedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
278
|
-
createdAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
279
|
-
get viewer() {
|
|
280
|
-
return /*#__PURE__*/ v.optional(viewerStateSchema);
|
|
281
|
-
},
|
|
282
278
|
get labels() {
|
|
283
279
|
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(ComAtprotoLabelDefs.labelSchema));
|
|
284
280
|
},
|
|
285
281
|
get pinnedPost() {
|
|
286
282
|
return /*#__PURE__*/ v.optional(ComAtprotoRepoStrongRef.mainSchema);
|
|
287
283
|
},
|
|
284
|
+
postsCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
285
|
+
get status() {
|
|
286
|
+
return /*#__PURE__*/ v.optional(statusViewSchema);
|
|
287
|
+
},
|
|
288
288
|
get verification() {
|
|
289
289
|
return /*#__PURE__*/ v.optional(verificationStateSchema);
|
|
290
290
|
},
|
|
291
|
-
get
|
|
292
|
-
return /*#__PURE__*/ v.optional(
|
|
291
|
+
get viewer() {
|
|
292
|
+
return /*#__PURE__*/ v.optional(viewerStateSchema);
|
|
293
293
|
},
|
|
294
294
|
});
|
|
295
295
|
const _savedFeedSchema = /*#__PURE__*/ v.object({
|
|
296
296
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#savedFeed')),
|
|
297
297
|
id: /*#__PURE__*/ v.string(),
|
|
298
|
+
pinned: /*#__PURE__*/ v.boolean(),
|
|
298
299
|
type: /*#__PURE__*/ v.string<'feed' | 'list' | 'timeline' | (string & {})>(),
|
|
299
300
|
value: /*#__PURE__*/ v.string(),
|
|
300
|
-
pinned: /*#__PURE__*/ v.boolean(),
|
|
301
301
|
});
|
|
302
302
|
const _savedFeedsPrefSchema = /*#__PURE__*/ v.object({
|
|
303
303
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#savedFeedsPref')),
|
|
@@ -313,20 +313,20 @@ const _savedFeedsPrefV2Schema = /*#__PURE__*/ v.object({
|
|
|
313
313
|
});
|
|
314
314
|
const _statusViewSchema = /*#__PURE__*/ v.object({
|
|
315
315
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#statusView')),
|
|
316
|
-
status: /*#__PURE__*/ v.string<'app.bsky.actor.status#live' | (string & {})>(),
|
|
317
|
-
record: /*#__PURE__*/ v.unknown(),
|
|
318
316
|
get embed() {
|
|
319
317
|
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.variant([AppBskyEmbedExternal.viewSchema]));
|
|
320
318
|
},
|
|
321
319
|
expiresAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
322
320
|
isActive: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
321
|
+
record: /*#__PURE__*/ v.unknown(),
|
|
322
|
+
status: /*#__PURE__*/ v.string<'app.bsky.actor.status#live' | (string & {})>(),
|
|
323
323
|
});
|
|
324
324
|
const _threadViewPrefSchema = /*#__PURE__*/ v.object({
|
|
325
325
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#threadViewPref')),
|
|
326
|
+
prioritizeFollowedUsers: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
326
327
|
sort: /*#__PURE__*/ v.optional(
|
|
327
|
-
/*#__PURE__*/ v.string<'
|
|
328
|
+
/*#__PURE__*/ v.string<'hotness' | 'most-likes' | 'newest' | 'oldest' | 'random' | (string & {})>(),
|
|
328
329
|
),
|
|
329
|
-
prioritizeFollowedUsers: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
330
330
|
});
|
|
331
331
|
const _verificationPrefsSchema = /*#__PURE__*/ v.object({
|
|
332
332
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#verificationPrefs')),
|
|
@@ -334,35 +334,35 @@ const _verificationPrefsSchema = /*#__PURE__*/ v.object({
|
|
|
334
334
|
});
|
|
335
335
|
const _verificationStateSchema = /*#__PURE__*/ v.object({
|
|
336
336
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#verificationState')),
|
|
337
|
+
trustedVerifierStatus: /*#__PURE__*/ v.string<'invalid' | 'none' | 'valid' | (string & {})>(),
|
|
337
338
|
get verifications() {
|
|
338
339
|
return /*#__PURE__*/ v.array(verificationViewSchema);
|
|
339
340
|
},
|
|
340
|
-
verifiedStatus: /*#__PURE__*/ v.string<'
|
|
341
|
-
trustedVerifierStatus: /*#__PURE__*/ v.string<'valid' | 'invalid' | 'none' | (string & {})>(),
|
|
341
|
+
verifiedStatus: /*#__PURE__*/ v.string<'invalid' | 'none' | 'valid' | (string & {})>(),
|
|
342
342
|
});
|
|
343
343
|
const _verificationViewSchema = /*#__PURE__*/ v.object({
|
|
344
344
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#verificationView')),
|
|
345
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
346
|
+
isValid: /*#__PURE__*/ v.boolean(),
|
|
345
347
|
issuer: /*#__PURE__*/ v.didString(),
|
|
346
348
|
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
347
|
-
isValid: /*#__PURE__*/ v.boolean(),
|
|
348
|
-
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
349
349
|
});
|
|
350
350
|
const _viewerStateSchema = /*#__PURE__*/ v.object({
|
|
351
351
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#viewerState')),
|
|
352
|
-
muted: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
353
|
-
get mutedByList() {
|
|
354
|
-
return /*#__PURE__*/ v.optional(AppBskyGraphDefs.listViewBasicSchema);
|
|
355
|
-
},
|
|
356
352
|
blockedBy: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
357
353
|
blocking: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
358
354
|
get blockingByList() {
|
|
359
355
|
return /*#__PURE__*/ v.optional(AppBskyGraphDefs.listViewBasicSchema);
|
|
360
356
|
},
|
|
361
|
-
following: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
362
357
|
followedBy: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
358
|
+
following: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
363
359
|
get knownFollowers() {
|
|
364
360
|
return /*#__PURE__*/ v.optional(knownFollowersSchema);
|
|
365
361
|
},
|
|
362
|
+
muted: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
363
|
+
get mutedByList() {
|
|
364
|
+
return /*#__PURE__*/ v.optional(AppBskyGraphDefs.listViewBasicSchema);
|
|
365
|
+
},
|
|
366
366
|
});
|
|
367
367
|
|
|
368
368
|
type adultContentPref$schematype = typeof _adultContentPrefSchema;
|
|
@@ -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,11 +4,11 @@ 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')),
|
|
@@ -26,12 +26,12 @@ const _viewSchema = /*#__PURE__*/ v.object({
|
|
|
26
26
|
});
|
|
27
27
|
const _viewImageSchema = /*#__PURE__*/ v.object({
|
|
28
28
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.images#viewImage')),
|
|
29
|
-
thumb: /*#__PURE__*/ v.genericUriString(),
|
|
30
|
-
fullsize: /*#__PURE__*/ v.genericUriString(),
|
|
31
29
|
alt: /*#__PURE__*/ v.string(),
|
|
32
30
|
get aspectRatio() {
|
|
33
31
|
return /*#__PURE__*/ v.optional(AppBskyEmbedDefs.aspectRatioSchema);
|
|
34
32
|
},
|
|
33
|
+
fullsize: /*#__PURE__*/ v.genericUriString(),
|
|
34
|
+
thumb: /*#__PURE__*/ v.genericUriString(),
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
type image$schematype = typeof _imageSchema;
|