@atcute/bluesky 2.1.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -34
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lexicons/index.d.ts +126 -0
- package/dist/lexicons/index.js +127 -0
- package/dist/lexicons/index.js.map +1 -0
- package/dist/lexicons/types/app/bsky/actor/defs.d.ts +392 -0
- package/dist/lexicons/types/app/bsky/actor/defs.js +365 -0
- package/dist/lexicons/types/app/bsky/actor/defs.js.map +1 -0
- package/dist/lexicons/types/app/bsky/actor/getPreferences.d.ts +18 -0
- package/dist/lexicons/types/app/bsky/actor/getPreferences.js +15 -0
- package/dist/lexicons/types/app/bsky/actor/getPreferences.js.map +1 -0
- package/dist/lexicons/types/app/bsky/actor/getProfile.d.ts +18 -0
- package/dist/lexicons/types/app/bsky/actor/getProfile.js +15 -0
- package/dist/lexicons/types/app/bsky/actor/getProfile.js.map +1 -0
- package/dist/lexicons/types/app/bsky/actor/getProfiles.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/actor/getProfiles.js +19 -0
- package/dist/lexicons/types/app/bsky/actor/getProfiles.js.map +1 -0
- package/dist/lexicons/types/app/bsky/actor/getSuggestions.d.ts +23 -0
- package/dist/lexicons/types/app/bsky/actor/getSuggestions.js +21 -0
- package/dist/lexicons/types/app/bsky/actor/getSuggestions.js.map +1 -0
- package/dist/lexicons/types/app/bsky/actor/profile.d.ts +26 -0
- package/dist/lexicons/types/app/bsky/actor/profile.js +32 -0
- package/dist/lexicons/types/app/bsky/actor/profile.js.map +1 -0
- package/dist/lexicons/types/app/bsky/actor/putPreferences.d.ts +18 -0
- package/dist/lexicons/types/app/bsky/actor/putPreferences.js +16 -0
- package/dist/lexicons/types/app/bsky/actor/putPreferences.js.map +1 -0
- package/dist/lexicons/types/app/bsky/actor/searchActors.d.ts +24 -0
- package/dist/lexicons/types/app/bsky/actor/searchActors.js +22 -0
- package/dist/lexicons/types/app/bsky/actor/searchActors.js.map +1 -0
- package/dist/lexicons/types/app/bsky/actor/searchActorsTypeahead.d.ts +22 -0
- package/dist/lexicons/types/app/bsky/actor/searchActorsTypeahead.js +20 -0
- package/dist/lexicons/types/app/bsky/actor/searchActorsTypeahead.js.map +1 -0
- package/dist/lexicons/types/app/bsky/actor/status.d.ts +27 -0
- package/dist/lexicons/types/app/bsky/actor/status.js +18 -0
- package/dist/lexicons/types/app/bsky/actor/status.js.map +1 -0
- package/dist/lexicons/types/app/bsky/embed/defs.d.ts +13 -0
- package/dist/lexicons/types/app/bsky/embed/defs.js +8 -0
- package/dist/lexicons/types/app/bsky/embed/defs.js.map +1 -0
- package/dist/lexicons/types/app/bsky/embed/external.d.ts +48 -0
- package/dist/lexicons/types/app/bsky/embed/external.js +32 -0
- package/dist/lexicons/types/app/bsky/embed/external.js.map +1 -0
- package/dist/lexicons/types/app/bsky/embed/images.d.ts +48 -0
- package/dist/lexicons/types/app/bsky/embed/images.js +36 -0
- package/dist/lexicons/types/app/bsky/embed/images.js.map +1 -0
- package/dist/lexicons/types/app/bsky/embed/record.d.ts +86 -0
- package/dist/lexicons/types/app/bsky/embed/record.js +85 -0
- package/dist/lexicons/types/app/bsky/embed/record.js.map +1 -0
- package/dist/lexicons/types/app/bsky/embed/recordWithMedia.d.ts +28 -0
- package/dist/lexicons/types/app/bsky/embed/recordWithMedia.js +34 -0
- package/dist/lexicons/types/app/bsky/embed/recordWithMedia.js.map +1 -0
- package/dist/lexicons/types/app/bsky/embed/video.d.ts +41 -0
- package/dist/lexicons/types/app/bsky/embed/video.js +41 -0
- package/dist/lexicons/types/app/bsky/embed/video.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/defs.d.ts +323 -0
- package/dist/lexicons/types/app/bsky/feed/defs.js +245 -0
- package/dist/lexicons/types/app/bsky/feed/defs.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/describeFeedGenerator.d.ts +40 -0
- package/dist/lexicons/types/app/bsky/feed/describeFeedGenerator.js +29 -0
- package/dist/lexicons/types/app/bsky/feed/describeFeedGenerator.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/generator.d.ts +27 -0
- package/dist/lexicons/types/app/bsky/feed/generator.js +31 -0
- package/dist/lexicons/types/app/bsky/feed/generator.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getActorFeeds.d.ts +23 -0
- package/dist/lexicons/types/app/bsky/feed/getActorFeeds.js +21 -0
- package/dist/lexicons/types/app/bsky/feed/getActorFeeds.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getActorLikes.d.ts +23 -0
- package/dist/lexicons/types/app/bsky/feed/getActorLikes.js +21 -0
- package/dist/lexicons/types/app/bsky/feed/getActorLikes.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getAuthorFeed.d.ts +25 -0
- package/dist/lexicons/types/app/bsky/feed/getAuthorFeed.js +24 -0
- package/dist/lexicons/types/app/bsky/feed/getAuthorFeed.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getFeed.d.ts +23 -0
- package/dist/lexicons/types/app/bsky/feed/getFeed.js +21 -0
- package/dist/lexicons/types/app/bsky/feed/getFeed.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerator.d.ts +22 -0
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerator.js +19 -0
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerator.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerators.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerators.js +17 -0
- package/dist/lexicons/types/app/bsky/feed/getFeedGenerators.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getFeedSkeleton.d.ts +23 -0
- package/dist/lexicons/types/app/bsky/feed/getFeedSkeleton.js +21 -0
- package/dist/lexicons/types/app/bsky/feed/getFeedSkeleton.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getLikes.d.ts +38 -0
- package/dist/lexicons/types/app/bsky/feed/getLikes.js +33 -0
- package/dist/lexicons/types/app/bsky/feed/getLikes.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getListFeed.d.ts +23 -0
- package/dist/lexicons/types/app/bsky/feed/getListFeed.js +21 -0
- package/dist/lexicons/types/app/bsky/feed/getListFeed.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getPostThread.d.ts +23 -0
- package/dist/lexicons/types/app/bsky/feed/getPostThread.js +28 -0
- package/dist/lexicons/types/app/bsky/feed/getPostThread.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getPosts.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/feed/getPosts.js +19 -0
- package/dist/lexicons/types/app/bsky/feed/getPosts.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getQuotes.d.ts +26 -0
- package/dist/lexicons/types/app/bsky/feed/getQuotes.js +24 -0
- package/dist/lexicons/types/app/bsky/feed/getQuotes.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getRepostedBy.d.ts +26 -0
- package/dist/lexicons/types/app/bsky/feed/getRepostedBy.js +24 -0
- package/dist/lexicons/types/app/bsky/feed/getRepostedBy.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getSuggestedFeeds.d.ts +22 -0
- package/dist/lexicons/types/app/bsky/feed/getSuggestedFeeds.js +20 -0
- package/dist/lexicons/types/app/bsky/feed/getSuggestedFeeds.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/getTimeline.d.ts +23 -0
- package/dist/lexicons/types/app/bsky/feed/getTimeline.js +21 -0
- package/dist/lexicons/types/app/bsky/feed/getTimeline.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/like.d.ts +19 -0
- package/dist/lexicons/types/app/bsky/feed/like.js +13 -0
- package/dist/lexicons/types/app/bsky/feed/like.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/post.d.ts +67 -0
- package/dist/lexicons/types/app/bsky/feed/post.js +78 -0
- package/dist/lexicons/types/app/bsky/feed/post.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/postgate.d.ts +29 -0
- package/dist/lexicons/types/app/bsky/feed/postgate.js +24 -0
- package/dist/lexicons/types/app/bsky/feed/postgate.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/repost.d.ts +19 -0
- package/dist/lexicons/types/app/bsky/feed/repost.js +13 -0
- package/dist/lexicons/types/app/bsky/feed/repost.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/searchPosts.d.ts +33 -0
- package/dist/lexicons/types/app/bsky/feed/searchPosts.js +36 -0
- package/dist/lexicons/types/app/bsky/feed/searchPosts.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/sendInteractions.d.ts +21 -0
- package/dist/lexicons/types/app/bsky/feed/sendInteractions.js +19 -0
- package/dist/lexicons/types/app/bsky/feed/sendInteractions.js.map +1 -0
- package/dist/lexicons/types/app/bsky/feed/threadgate.d.ts +57 -0
- package/dist/lexicons/types/app/bsky/feed/threadgate.js +41 -0
- package/dist/lexicons/types/app/bsky/feed/threadgate.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/block.d.ts +18 -0
- package/dist/lexicons/types/app/bsky/graph/block.js +10 -0
- package/dist/lexicons/types/app/bsky/graph/block.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/defs.d.ts +152 -0
- package/dist/lexicons/types/app/bsky/graph/defs.js +136 -0
- package/dist/lexicons/types/app/bsky/graph/defs.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/follow.d.ts +18 -0
- package/dist/lexicons/types/app/bsky/graph/follow.js +10 -0
- package/dist/lexicons/types/app/bsky/graph/follow.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getActorStarterPacks.d.ts +23 -0
- package/dist/lexicons/types/app/bsky/graph/getActorStarterPacks.js +21 -0
- package/dist/lexicons/types/app/bsky/graph/getActorStarterPacks.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getBlocks.d.ts +22 -0
- package/dist/lexicons/types/app/bsky/graph/getBlocks.js +20 -0
- package/dist/lexicons/types/app/bsky/graph/getBlocks.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getFollowers.d.ts +24 -0
- package/dist/lexicons/types/app/bsky/graph/getFollowers.js +24 -0
- package/dist/lexicons/types/app/bsky/graph/getFollowers.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getFollows.d.ts +24 -0
- package/dist/lexicons/types/app/bsky/graph/getFollows.js +24 -0
- package/dist/lexicons/types/app/bsky/graph/getFollows.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getKnownFollowers.d.ts +24 -0
- package/dist/lexicons/types/app/bsky/graph/getKnownFollowers.js +24 -0
- package/dist/lexicons/types/app/bsky/graph/getKnownFollowers.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getList.d.ts +24 -0
- package/dist/lexicons/types/app/bsky/graph/getList.js +24 -0
- package/dist/lexicons/types/app/bsky/graph/getList.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getListBlocks.d.ts +22 -0
- package/dist/lexicons/types/app/bsky/graph/getListBlocks.js +20 -0
- package/dist/lexicons/types/app/bsky/graph/getListBlocks.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getListMutes.d.ts +22 -0
- package/dist/lexicons/types/app/bsky/graph/getListMutes.js +20 -0
- package/dist/lexicons/types/app/bsky/graph/getListMutes.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getLists.d.ts +23 -0
- package/dist/lexicons/types/app/bsky/graph/getLists.js +21 -0
- package/dist/lexicons/types/app/bsky/graph/getLists.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getMutes.d.ts +22 -0
- package/dist/lexicons/types/app/bsky/graph/getMutes.js +20 -0
- package/dist/lexicons/types/app/bsky/graph/getMutes.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getRelationships.d.ts +22 -0
- package/dist/lexicons/types/app/bsky/graph/getRelationships.js +26 -0
- package/dist/lexicons/types/app/bsky/graph/getRelationships.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getStarterPack.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/graph/getStarterPack.js +17 -0
- package/dist/lexicons/types/app/bsky/graph/getStarterPack.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getStarterPacks.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/graph/getStarterPacks.js +19 -0
- package/dist/lexicons/types/app/bsky/graph/getStarterPacks.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +22 -0
- package/dist/lexicons/types/app/bsky/graph/getSuggestedFollowsByActor.js +19 -0
- package/dist/lexicons/types/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/list.d.ts +26 -0
- package/dist/lexicons/types/app/bsky/graph/list.js +28 -0
- package/dist/lexicons/types/app/bsky/graph/list.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/listblock.d.ts +18 -0
- package/dist/lexicons/types/app/bsky/graph/listblock.js +10 -0
- package/dist/lexicons/types/app/bsky/graph/listblock.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/listitem.d.ts +19 -0
- package/dist/lexicons/types/app/bsky/graph/listitem.js +11 -0
- package/dist/lexicons/types/app/bsky/graph/listitem.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/muteActor.d.ts +17 -0
- package/dist/lexicons/types/app/bsky/graph/muteActor.js +13 -0
- package/dist/lexicons/types/app/bsky/graph/muteActor.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/muteActorList.d.ts +17 -0
- package/dist/lexicons/types/app/bsky/graph/muteActorList.js +13 -0
- package/dist/lexicons/types/app/bsky/graph/muteActorList.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/muteThread.d.ts +17 -0
- package/dist/lexicons/types/app/bsky/graph/muteThread.js +13 -0
- package/dist/lexicons/types/app/bsky/graph/muteThread.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/searchStarterPacks.d.ts +23 -0
- package/dist/lexicons/types/app/bsky/graph/searchStarterPacks.js +21 -0
- package/dist/lexicons/types/app/bsky/graph/searchStarterPacks.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/starterpack.d.ts +33 -0
- package/dist/lexicons/types/app/bsky/graph/starterpack.js +32 -0
- package/dist/lexicons/types/app/bsky/graph/starterpack.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/unmuteActor.d.ts +17 -0
- package/dist/lexicons/types/app/bsky/graph/unmuteActor.js +13 -0
- package/dist/lexicons/types/app/bsky/graph/unmuteActor.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/unmuteActorList.d.ts +17 -0
- package/dist/lexicons/types/app/bsky/graph/unmuteActorList.js +13 -0
- package/dist/lexicons/types/app/bsky/graph/unmuteActorList.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/unmuteThread.d.ts +17 -0
- package/dist/lexicons/types/app/bsky/graph/unmuteThread.js +13 -0
- package/dist/lexicons/types/app/bsky/graph/unmuteThread.js.map +1 -0
- package/dist/lexicons/types/app/bsky/graph/verification.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/graph/verification.js +12 -0
- package/dist/lexicons/types/app/bsky/graph/verification.js.map +1 -0
- package/dist/lexicons/types/app/bsky/labeler/defs.d.ts +62 -0
- package/dist/lexicons/types/app/bsky/labeler/defs.js +64 -0
- package/dist/lexicons/types/app/bsky/labeler/defs.js.map +1 -0
- package/dist/lexicons/types/app/bsky/labeler/getServices.d.ts +21 -0
- package/dist/lexicons/types/app/bsky/labeler/getServices.js +22 -0
- package/dist/lexicons/types/app/bsky/labeler/getServices.js.map +1 -0
- package/dist/lexicons/types/app/bsky/labeler/service.d.ts +25 -0
- package/dist/lexicons/types/app/bsky/labeler/service.js +25 -0
- package/dist/lexicons/types/app/bsky/labeler/service.js.map +1 -0
- package/dist/lexicons/types/app/bsky/notification/defs.d.ts +11 -0
- package/dist/lexicons/types/app/bsky/notification/defs.js +6 -0
- package/dist/lexicons/types/app/bsky/notification/defs.js.map +1 -0
- package/dist/lexicons/types/app/bsky/notification/getUnreadCount.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/notification/getUnreadCount.js +15 -0
- package/dist/lexicons/types/app/bsky/notification/getUnreadCount.js.map +1 -0
- package/dist/lexicons/types/app/bsky/notification/listNotifications.d.ts +46 -0
- package/dist/lexicons/types/app/bsky/notification/listNotifications.js +44 -0
- package/dist/lexicons/types/app/bsky/notification/listNotifications.js.map +1 -0
- package/dist/lexicons/types/app/bsky/notification/putPreferences.d.ts +17 -0
- package/dist/lexicons/types/app/bsky/notification/putPreferences.js +13 -0
- package/dist/lexicons/types/app/bsky/notification/putPreferences.js.map +1 -0
- package/dist/lexicons/types/app/bsky/notification/registerPush.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/notification/registerPush.js +16 -0
- package/dist/lexicons/types/app/bsky/notification/registerPush.js.map +1 -0
- package/dist/lexicons/types/app/bsky/notification/updateSeen.d.ts +17 -0
- package/dist/lexicons/types/app/bsky/notification/updateSeen.js +13 -0
- package/dist/lexicons/types/app/bsky/notification/updateSeen.js.map +1 -0
- package/dist/lexicons/types/app/bsky/richtext/facet.d.ts +54 -0
- package/dist/lexicons/types/app/bsky/richtext/facet.js +36 -0
- package/dist/lexicons/types/app/bsky/richtext/facet.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/defs.d.ts +80 -0
- package/dist/lexicons/types/app/bsky/unspecced/defs.js +53 -0
- package/dist/lexicons/types/app/bsky/unspecced/defs.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getConfig.d.ts +17 -0
- package/dist/lexicons/types/app/bsky/unspecced/getConfig.js +12 -0
- package/dist/lexicons/types/app/bsky/unspecced/getConfig.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts +23 -0
- package/dist/lexicons/types/app/bsky/unspecced/getPopularFeedGenerators.js +21 -0
- package/dist/lexicons/types/app/bsky/unspecced/getPopularFeedGenerators.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeeds.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeeds.js +18 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeeds.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js +16 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacks.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacks.js +18 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacks.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js +16 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsers.d.ts +21 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsers.js +19 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsers.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts +21 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersSkeleton.js +17 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestedUsersSkeleton.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +26 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestionsSkeleton.js +24 -0
- package/dist/lexicons/types/app/bsky/unspecced/getSuggestionsSkeleton.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTaggedSuggestions.d.ts +29 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTaggedSuggestions.js +22 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTaggedSuggestions.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTrendingTopics.d.ts +22 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTrendingTopics.js +22 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTrendingTopics.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTrends.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTrends.js +18 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTrends.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTrendsSkeleton.d.ts +21 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTrendsSkeleton.js +19 -0
- package/dist/lexicons/types/app/bsky/unspecced/getTrendsSkeleton.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +26 -0
- package/dist/lexicons/types/app/bsky/unspecced/searchActorsSkeleton.js +24 -0
- package/dist/lexicons/types/app/bsky/unspecced/searchActorsSkeleton.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +34 -0
- package/dist/lexicons/types/app/bsky/unspecced/searchPostsSkeleton.js +37 -0
- package/dist/lexicons/types/app/bsky/unspecced/searchPostsSkeleton.js.map +1 -0
- package/dist/lexicons/types/app/bsky/unspecced/searchStarterPacksSkeleton.d.ts +25 -0
- package/dist/lexicons/types/app/bsky/unspecced/searchStarterPacksSkeleton.js +23 -0
- package/dist/lexicons/types/app/bsky/unspecced/searchStarterPacksSkeleton.js.map +1 -0
- package/dist/lexicons/types/app/bsky/video/defs.d.ts +18 -0
- package/dist/lexicons/types/app/bsky/video/defs.js +14 -0
- package/dist/lexicons/types/app/bsky/video/defs.js.map +1 -0
- package/dist/lexicons/types/app/bsky/video/getJobStatus.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/video/getJobStatus.js +17 -0
- package/dist/lexicons/types/app/bsky/video/getJobStatus.js.map +1 -0
- package/dist/lexicons/types/app/bsky/video/getUploadLimits.d.ts +21 -0
- package/dist/lexicons/types/app/bsky/video/getUploadLimits.js +16 -0
- package/dist/lexicons/types/app/bsky/video/getUploadLimits.js.map +1 -0
- package/dist/lexicons/types/app/bsky/video/uploadVideo.d.ts +20 -0
- package/dist/lexicons/types/app/bsky/video/uploadVideo.js +18 -0
- package/dist/lexicons/types/app/bsky/video/uploadVideo.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/actor/declaration.d.ts +17 -0
- package/dist/lexicons/types/chat/bsky/actor/declaration.js +9 -0
- package/dist/lexicons/types/chat/bsky/actor/declaration.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/actor/defs.d.ts +22 -0
- package/dist/lexicons/types/chat/bsky/actor/defs.js +29 -0
- package/dist/lexicons/types/chat/bsky/actor/defs.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/actor/deleteAccount.d.ts +15 -0
- package/dist/lexicons/types/chat/bsky/actor/deleteAccount.js +11 -0
- package/dist/lexicons/types/chat/bsky/actor/deleteAccount.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/actor/exportAccountData.d.ts +14 -0
- package/dist/lexicons/types/chat/bsky/actor/exportAccountData.js +9 -0
- package/dist/lexicons/types/chat/bsky/actor/exportAccountData.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/acceptConvo.d.ts +22 -0
- package/dist/lexicons/types/chat/bsky/convo/acceptConvo.js +18 -0
- package/dist/lexicons/types/chat/bsky/convo/acceptConvo.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/addReaction.d.ts +25 -0
- package/dist/lexicons/types/chat/bsky/convo/addReaction.js +26 -0
- package/dist/lexicons/types/chat/bsky/convo/addReaction.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/defs.d.ts +236 -0
- package/dist/lexicons/types/chat/bsky/convo/defs.js +187 -0
- package/dist/lexicons/types/chat/bsky/convo/defs.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/deleteMessageForSelf.d.ts +22 -0
- package/dist/lexicons/types/chat/bsky/convo/deleteMessageForSelf.js +20 -0
- package/dist/lexicons/types/chat/bsky/convo/deleteMessageForSelf.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvo.d.ts +20 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvo.js +17 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvo.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvoAvailability.d.ts +21 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvoAvailability.js +20 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvoAvailability.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvoForMembers.d.ts +20 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvoForMembers.js +19 -0
- package/dist/lexicons/types/chat/bsky/convo/getConvoForMembers.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/getLog.d.ts +21 -0
- package/dist/lexicons/types/chat/bsky/convo/getLog.js +30 -0
- package/dist/lexicons/types/chat/bsky/convo/getLog.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/getMessages.d.ts +23 -0
- package/dist/lexicons/types/chat/bsky/convo/getMessages.js +25 -0
- package/dist/lexicons/types/chat/bsky/convo/getMessages.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/leaveConvo.d.ts +23 -0
- package/dist/lexicons/types/chat/bsky/convo/leaveConvo.js +19 -0
- package/dist/lexicons/types/chat/bsky/convo/leaveConvo.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/listConvos.d.ts +24 -0
- package/dist/lexicons/types/chat/bsky/convo/listConvos.js +22 -0
- package/dist/lexicons/types/chat/bsky/convo/listConvos.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/muteConvo.d.ts +23 -0
- package/dist/lexicons/types/chat/bsky/convo/muteConvo.js +21 -0
- package/dist/lexicons/types/chat/bsky/convo/muteConvo.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/removeReaction.d.ts +25 -0
- package/dist/lexicons/types/chat/bsky/convo/removeReaction.js +26 -0
- package/dist/lexicons/types/chat/bsky/convo/removeReaction.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/sendMessage.d.ts +22 -0
- package/dist/lexicons/types/chat/bsky/convo/sendMessage.js +22 -0
- package/dist/lexicons/types/chat/bsky/convo/sendMessage.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/sendMessageBatch.d.ts +34 -0
- package/dist/lexicons/types/chat/bsky/convo/sendMessageBatch.js +31 -0
- package/dist/lexicons/types/chat/bsky/convo/sendMessageBatch.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/unmuteConvo.d.ts +23 -0
- package/dist/lexicons/types/chat/bsky/convo/unmuteConvo.js +21 -0
- package/dist/lexicons/types/chat/bsky/convo/unmuteConvo.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/updateAllRead.d.ts +22 -0
- package/dist/lexicons/types/chat/bsky/convo/updateAllRead.js +18 -0
- package/dist/lexicons/types/chat/bsky/convo/updateAllRead.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/convo/updateRead.d.ts +24 -0
- package/dist/lexicons/types/chat/bsky/convo/updateRead.js +22 -0
- package/dist/lexicons/types/chat/bsky/convo/updateRead.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/moderation/getActorMetadata.d.ts +34 -0
- package/dist/lexicons/types/chat/bsky/moderation/getActorMetadata.js +30 -0
- package/dist/lexicons/types/chat/bsky/moderation/getActorMetadata.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/moderation/getMessageContext.d.ts +23 -0
- package/dist/lexicons/types/chat/bsky/moderation/getMessageContext.js +24 -0
- package/dist/lexicons/types/chat/bsky/moderation/getMessageContext.js.map +1 -0
- package/dist/lexicons/types/chat/bsky/moderation/updateActorAccess.d.ts +19 -0
- package/dist/lexicons/types/chat/bsky/moderation/updateActorAccess.js +15 -0
- package/dist/lexicons/types/chat/bsky/moderation/updateActorAccess.js.map +1 -0
- package/dist/lexicons.test.d.ts +1 -0
- package/dist/lexicons.test.js +126 -0
- package/dist/lexicons.test.js.map +1 -0
- package/dist/utilities/embeds.d.ts +9 -5
- package/dist/utilities/embeds.js.map +1 -1
- package/lib/index.ts +1 -1
- package/lib/lexicons/index.ts +126 -0
- package/lib/lexicons/types/app/bsky/actor/defs.ts +490 -0
- package/lib/lexicons/types/app/bsky/actor/getPreferences.ts +28 -0
- package/lib/lexicons/types/app/bsky/actor/getProfile.ts +28 -0
- package/lib/lexicons/types/app/bsky/actor/getProfiles.ts +32 -0
- package/lib/lexicons/types/app/bsky/actor/getSuggestions.ts +36 -0
- package/lib/lexicons/types/app/bsky/actor/profile.ts +50 -0
- package/lib/lexicons/types/app/bsky/actor/putPreferences.ts +29 -0
- package/lib/lexicons/types/app/bsky/actor/searchActors.ts +37 -0
- package/lib/lexicons/types/app/bsky/actor/searchActorsTypeahead.ts +35 -0
- package/lib/lexicons/types/app/bsky/actor/status.ts +38 -0
- package/lib/lexicons/types/app/bsky/embed/defs.ts +16 -0
- package/lib/lexicons/types/app/bsky/embed/external.ts +49 -0
- package/lib/lexicons/types/app/bsky/embed/images.ts +53 -0
- package/lib/lexicons/types/app/bsky/embed/record.ts +110 -0
- package/lib/lexicons/types/app/bsky/embed/recordWithMedia.ts +45 -0
- package/lib/lexicons/types/app/bsky/embed/video.ts +58 -0
- package/lib/lexicons/types/app/bsky/feed/defs.ts +373 -0
- package/lib/lexicons/types/app/bsky/feed/describeFeedGenerator.ts +49 -0
- package/lib/lexicons/types/app/bsky/feed/generator.ts +51 -0
- package/lib/lexicons/types/app/bsky/feed/getActorFeeds.ts +36 -0
- package/lib/lexicons/types/app/bsky/feed/getActorLikes.ts +36 -0
- package/lib/lexicons/types/app/bsky/feed/getAuthorFeed.ts +48 -0
- package/lib/lexicons/types/app/bsky/feed/getFeed.ts +36 -0
- package/lib/lexicons/types/app/bsky/feed/getFeedGenerator.ts +32 -0
- package/lib/lexicons/types/app/bsky/feed/getFeedGenerators.ts +30 -0
- package/lib/lexicons/types/app/bsky/feed/getFeedSkeleton.ts +36 -0
- package/lib/lexicons/types/app/bsky/feed/getLikes.ts +52 -0
- package/lib/lexicons/types/app/bsky/feed/getListFeed.ts +36 -0
- package/lib/lexicons/types/app/bsky/feed/getPostThread.ts +45 -0
- package/lib/lexicons/types/app/bsky/feed/getPosts.ts +32 -0
- package/lib/lexicons/types/app/bsky/feed/getQuotes.ts +39 -0
- package/lib/lexicons/types/app/bsky/feed/getRepostedBy.ts +39 -0
- package/lib/lexicons/types/app/bsky/feed/getSuggestedFeeds.ts +35 -0
- package/lib/lexicons/types/app/bsky/feed/getTimeline.ts +36 -0
- package/lib/lexicons/types/app/bsky/feed/like.ts +29 -0
- package/lib/lexicons/types/app/bsky/feed/post.ts +110 -0
- package/lib/lexicons/types/app/bsky/feed/postgate.ts +45 -0
- package/lib/lexicons/types/app/bsky/feed/repost.ts +29 -0
- package/lib/lexicons/types/app/bsky/feed/searchPosts.ts +53 -0
- package/lib/lexicons/types/app/bsky/feed/sendInteractions.ts +32 -0
- package/lib/lexicons/types/app/bsky/feed/threadgate.ts +75 -0
- package/lib/lexicons/types/app/bsky/graph/block.ts +26 -0
- package/lib/lexicons/types/app/bsky/graph/defs.ts +185 -0
- package/lib/lexicons/types/app/bsky/graph/follow.ts +26 -0
- package/lib/lexicons/types/app/bsky/graph/getActorStarterPacks.ts +36 -0
- package/lib/lexicons/types/app/bsky/graph/getBlocks.ts +35 -0
- package/lib/lexicons/types/app/bsky/graph/getFollowers.ts +39 -0
- package/lib/lexicons/types/app/bsky/graph/getFollows.ts +39 -0
- package/lib/lexicons/types/app/bsky/graph/getKnownFollowers.ts +39 -0
- package/lib/lexicons/types/app/bsky/graph/getList.ts +39 -0
- package/lib/lexicons/types/app/bsky/graph/getListBlocks.ts +35 -0
- package/lib/lexicons/types/app/bsky/graph/getListMutes.ts +35 -0
- package/lib/lexicons/types/app/bsky/graph/getLists.ts +36 -0
- package/lib/lexicons/types/app/bsky/graph/getMutes.ts +35 -0
- package/lib/lexicons/types/app/bsky/graph/getRelationships.ts +41 -0
- package/lib/lexicons/types/app/bsky/graph/getStarterPack.ts +30 -0
- package/lib/lexicons/types/app/bsky/graph/getStarterPacks.ts +32 -0
- package/lib/lexicons/types/app/bsky/graph/getSuggestedFollowsByActor.ts +32 -0
- package/lib/lexicons/types/app/bsky/graph/list.ts +45 -0
- package/lib/lexicons/types/app/bsky/graph/listblock.ts +26 -0
- package/lib/lexicons/types/app/bsky/graph/listitem.ts +27 -0
- package/lib/lexicons/types/app/bsky/graph/muteActor.ts +26 -0
- package/lib/lexicons/types/app/bsky/graph/muteActorList.ts +26 -0
- package/lib/lexicons/types/app/bsky/graph/muteThread.ts +26 -0
- package/lib/lexicons/types/app/bsky/graph/searchStarterPacks.ts +36 -0
- package/lib/lexicons/types/app/bsky/graph/starterpack.ts +53 -0
- package/lib/lexicons/types/app/bsky/graph/unmuteActor.ts +26 -0
- package/lib/lexicons/types/app/bsky/graph/unmuteActorList.ts +26 -0
- package/lib/lexicons/types/app/bsky/graph/unmuteThread.ts +26 -0
- package/lib/lexicons/types/app/bsky/graph/verification.ts +28 -0
- package/lib/lexicons/types/app/bsky/labeler/defs.ts +81 -0
- package/lib/lexicons/types/app/bsky/labeler/getServices.ts +36 -0
- package/lib/lexicons/types/app/bsky/labeler/service.ts +41 -0
- package/lib/lexicons/types/app/bsky/notification/defs.ts +14 -0
- package/lib/lexicons/types/app/bsky/notification/getUnreadCount.ts +28 -0
- package/lib/lexicons/types/app/bsky/notification/listNotifications.ts +75 -0
- package/lib/lexicons/types/app/bsky/notification/putPreferences.ts +26 -0
- package/lib/lexicons/types/app/bsky/notification/registerPush.ts +29 -0
- package/lib/lexicons/types/app/bsky/notification/updateSeen.ts +26 -0
- package/lib/lexicons/types/app/bsky/richtext/facet.ts +56 -0
- package/lib/lexicons/types/app/bsky/unspecced/defs.ts +78 -0
- package/lib/lexicons/types/app/bsky/unspecced/getConfig.ts +25 -0
- package/lib/lexicons/types/app/bsky/unspecced/getPopularFeedGenerators.ts +36 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedFeeds.ts +33 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.ts +31 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacks.ts +33 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts +31 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedUsers.ts +34 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +32 -0
- package/lib/lexicons/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +39 -0
- package/lib/lexicons/types/app/bsky/unspecced/getTaggedSuggestions.ts +40 -0
- package/lib/lexicons/types/app/bsky/unspecced/getTrendingTopics.ts +37 -0
- package/lib/lexicons/types/app/bsky/unspecced/getTrends.ts +33 -0
- package/lib/lexicons/types/app/bsky/unspecced/getTrendsSkeleton.ts +34 -0
- package/lib/lexicons/types/app/bsky/unspecced/searchActorsSkeleton.ts +39 -0
- package/lib/lexicons/types/app/bsky/unspecced/searchPostsSkeleton.ts +54 -0
- package/lib/lexicons/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +38 -0
- package/lib/lexicons/types/app/bsky/video/defs.ts +23 -0
- package/lib/lexicons/types/app/bsky/video/getJobStatus.ts +30 -0
- package/lib/lexicons/types/app/bsky/video/getUploadLimits.ts +29 -0
- package/lib/lexicons/types/app/bsky/video/uploadVideo.ts +31 -0
- package/lib/lexicons/types/chat/bsky/actor/declaration.ts +25 -0
- package/lib/lexicons/types/chat/bsky/actor/defs.ts +38 -0
- package/lib/lexicons/types/chat/bsky/actor/deleteAccount.ts +24 -0
- package/lib/lexicons/types/chat/bsky/actor/exportAccountData.ts +22 -0
- package/lib/lexicons/types/chat/bsky/convo/acceptConvo.ts +31 -0
- package/lib/lexicons/types/chat/bsky/convo/addReaction.ts +39 -0
- package/lib/lexicons/types/chat/bsky/convo/defs.ts +249 -0
- package/lib/lexicons/types/chat/bsky/convo/deleteMessageForSelf.ts +33 -0
- package/lib/lexicons/types/chat/bsky/convo/getConvo.ts +30 -0
- package/lib/lexicons/types/chat/bsky/convo/getConvoAvailability.ts +33 -0
- package/lib/lexicons/types/chat/bsky/convo/getConvoForMembers.ts +32 -0
- package/lib/lexicons/types/chat/bsky/convo/getLog.ts +44 -0
- package/lib/lexicons/types/chat/bsky/convo/getMessages.ts +41 -0
- package/lib/lexicons/types/chat/bsky/convo/leaveConvo.ts +32 -0
- package/lib/lexicons/types/chat/bsky/convo/listConvos.ts +37 -0
- package/lib/lexicons/types/chat/bsky/convo/muteConvo.ts +34 -0
- package/lib/lexicons/types/chat/bsky/convo/removeReaction.ts +39 -0
- package/lib/lexicons/types/chat/bsky/convo/sendMessage.ts +35 -0
- package/lib/lexicons/types/chat/bsky/convo/sendMessageBatch.ts +48 -0
- package/lib/lexicons/types/chat/bsky/convo/unmuteConvo.ts +34 -0
- package/lib/lexicons/types/chat/bsky/convo/updateAllRead.ts +31 -0
- package/lib/lexicons/types/chat/bsky/convo/updateRead.ts +35 -0
- package/lib/lexicons/types/chat/bsky/moderation/getActorMetadata.ts +47 -0
- package/lib/lexicons/types/chat/bsky/moderation/getMessageContext.ts +38 -0
- package/lib/lexicons/types/chat/bsky/moderation/updateActorAccess.ts +28 -0
- package/lib/utilities/embeds.ts +10 -11
- package/package.json +17 -8
- package/dist/lexicons.d.ts +0 -3560
- package/dist/lexicons.js +0 -8
- package/dist/lexicons.js.map +0 -1
- package/lib/lexicons.ts +0 -3598
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyFeedDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getFeedGenerators', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
feeds: /*#__PURE__*/ v.array(/*#__PURE__*/ v.resourceUriString()),
|
|
9
|
+
}),
|
|
10
|
+
output: {
|
|
11
|
+
type: 'lex',
|
|
12
|
+
schema: /*#__PURE__*/ v.object({
|
|
13
|
+
get feeds() {
|
|
14
|
+
return /*#__PURE__*/ v.array(AppBskyFeedDefs.generatorViewSchema);
|
|
15
|
+
},
|
|
16
|
+
}),
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
type main$schematype = typeof _mainSchema;
|
|
21
|
+
|
|
22
|
+
export interface mainSchema extends main$schematype {}
|
|
23
|
+
|
|
24
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
25
|
+
|
|
26
|
+
declare module '@atcute/lexicons/ambient' {
|
|
27
|
+
interface XRPCQueries {
|
|
28
|
+
'app.bsky.feed.getFeedGenerators': mainSchema;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyFeedDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getFeedSkeleton', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
feed: /*#__PURE__*/ v.resourceUriString(),
|
|
9
|
+
limit: /*#__PURE__*/ v.optional(
|
|
10
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
11
|
+
50,
|
|
12
|
+
),
|
|
13
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
|
+
}),
|
|
15
|
+
output: {
|
|
16
|
+
type: 'lex',
|
|
17
|
+
schema: /*#__PURE__*/ v.object({
|
|
18
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
19
|
+
get feed() {
|
|
20
|
+
return /*#__PURE__*/ v.array(AppBskyFeedDefs.skeletonFeedPostSchema);
|
|
21
|
+
},
|
|
22
|
+
}),
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
type main$schematype = typeof _mainSchema;
|
|
27
|
+
|
|
28
|
+
export interface mainSchema extends main$schematype {}
|
|
29
|
+
|
|
30
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
31
|
+
|
|
32
|
+
declare module '@atcute/lexicons/ambient' {
|
|
33
|
+
interface XRPCQueries {
|
|
34
|
+
'app.bsky.feed.getFeedSkeleton': mainSchema;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyActorDefs from '../actor/defs.js';
|
|
5
|
+
|
|
6
|
+
const _likeSchema = /*#__PURE__*/ v.object({
|
|
7
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.feed.getLikes#like')),
|
|
8
|
+
indexedAt: /*#__PURE__*/ v.datetimeString(),
|
|
9
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
10
|
+
get actor() {
|
|
11
|
+
return AppBskyActorDefs.profileViewSchema;
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getLikes', {
|
|
15
|
+
params: /*#__PURE__*/ v.object({
|
|
16
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
17
|
+
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
18
|
+
limit: /*#__PURE__*/ v.optional(
|
|
19
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
20
|
+
50,
|
|
21
|
+
),
|
|
22
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
23
|
+
}),
|
|
24
|
+
output: {
|
|
25
|
+
type: 'lex',
|
|
26
|
+
schema: /*#__PURE__*/ v.object({
|
|
27
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
28
|
+
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
29
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
30
|
+
get likes() {
|
|
31
|
+
return /*#__PURE__*/ v.array(likeSchema);
|
|
32
|
+
},
|
|
33
|
+
}),
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
type like$schematype = typeof _likeSchema;
|
|
38
|
+
type main$schematype = typeof _mainSchema;
|
|
39
|
+
|
|
40
|
+
export interface likeSchema extends like$schematype {}
|
|
41
|
+
export interface mainSchema extends main$schematype {}
|
|
42
|
+
|
|
43
|
+
export const likeSchema = _likeSchema as likeSchema;
|
|
44
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
45
|
+
|
|
46
|
+
export interface Like extends v.InferInput<typeof likeSchema> {}
|
|
47
|
+
|
|
48
|
+
declare module '@atcute/lexicons/ambient' {
|
|
49
|
+
interface XRPCQueries {
|
|
50
|
+
'app.bsky.feed.getLikes': mainSchema;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyFeedDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getListFeed', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
list: /*#__PURE__*/ v.resourceUriString(),
|
|
9
|
+
limit: /*#__PURE__*/ v.optional(
|
|
10
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
11
|
+
50,
|
|
12
|
+
),
|
|
13
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
|
+
}),
|
|
15
|
+
output: {
|
|
16
|
+
type: 'lex',
|
|
17
|
+
schema: /*#__PURE__*/ v.object({
|
|
18
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
19
|
+
get feed() {
|
|
20
|
+
return /*#__PURE__*/ v.array(AppBskyFeedDefs.feedViewPostSchema);
|
|
21
|
+
},
|
|
22
|
+
}),
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
type main$schematype = typeof _mainSchema;
|
|
27
|
+
|
|
28
|
+
export interface mainSchema extends main$schematype {}
|
|
29
|
+
|
|
30
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
31
|
+
|
|
32
|
+
declare module '@atcute/lexicons/ambient' {
|
|
33
|
+
interface XRPCQueries {
|
|
34
|
+
'app.bsky.feed.getListFeed': mainSchema;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyFeedDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getPostThread', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
9
|
+
depth: /*#__PURE__*/ v.optional(
|
|
10
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(0, 1000)]),
|
|
11
|
+
6,
|
|
12
|
+
),
|
|
13
|
+
parentHeight: /*#__PURE__*/ v.optional(
|
|
14
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(0, 1000)]),
|
|
15
|
+
80,
|
|
16
|
+
),
|
|
17
|
+
}),
|
|
18
|
+
output: {
|
|
19
|
+
type: 'lex',
|
|
20
|
+
schema: /*#__PURE__*/ v.object({
|
|
21
|
+
get thread() {
|
|
22
|
+
return /*#__PURE__*/ v.variant([
|
|
23
|
+
AppBskyFeedDefs.threadViewPostSchema,
|
|
24
|
+
AppBskyFeedDefs.notFoundPostSchema,
|
|
25
|
+
AppBskyFeedDefs.blockedPostSchema,
|
|
26
|
+
]);
|
|
27
|
+
},
|
|
28
|
+
get threadgate() {
|
|
29
|
+
return /*#__PURE__*/ v.optional(AppBskyFeedDefs.threadgateViewSchema);
|
|
30
|
+
},
|
|
31
|
+
}),
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
type main$schematype = typeof _mainSchema;
|
|
36
|
+
|
|
37
|
+
export interface mainSchema extends main$schematype {}
|
|
38
|
+
|
|
39
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
40
|
+
|
|
41
|
+
declare module '@atcute/lexicons/ambient' {
|
|
42
|
+
interface XRPCQueries {
|
|
43
|
+
'app.bsky.feed.getPostThread': mainSchema;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyFeedDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getPosts', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
uris: /*#__PURE__*/ v.constrain(v.array(/*#__PURE__*/ v.resourceUriString()), [
|
|
9
|
+
/*#__PURE__*/ v.arrayLength(0, 25),
|
|
10
|
+
]),
|
|
11
|
+
}),
|
|
12
|
+
output: {
|
|
13
|
+
type: 'lex',
|
|
14
|
+
schema: /*#__PURE__*/ v.object({
|
|
15
|
+
get posts() {
|
|
16
|
+
return /*#__PURE__*/ v.array(AppBskyFeedDefs.postViewSchema);
|
|
17
|
+
},
|
|
18
|
+
}),
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
type main$schematype = typeof _mainSchema;
|
|
23
|
+
|
|
24
|
+
export interface mainSchema extends main$schematype {}
|
|
25
|
+
|
|
26
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
27
|
+
|
|
28
|
+
declare module '@atcute/lexicons/ambient' {
|
|
29
|
+
interface XRPCQueries {
|
|
30
|
+
'app.bsky.feed.getPosts': mainSchema;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyFeedDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getQuotes', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
9
|
+
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
|
+
limit: /*#__PURE__*/ v.optional(
|
|
11
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
12
|
+
50,
|
|
13
|
+
),
|
|
14
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
|
+
}),
|
|
16
|
+
output: {
|
|
17
|
+
type: 'lex',
|
|
18
|
+
schema: /*#__PURE__*/ v.object({
|
|
19
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
20
|
+
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
21
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
22
|
+
get posts() {
|
|
23
|
+
return /*#__PURE__*/ v.array(AppBskyFeedDefs.postViewSchema);
|
|
24
|
+
},
|
|
25
|
+
}),
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
type main$schematype = typeof _mainSchema;
|
|
30
|
+
|
|
31
|
+
export interface mainSchema extends main$schematype {}
|
|
32
|
+
|
|
33
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
34
|
+
|
|
35
|
+
declare module '@atcute/lexicons/ambient' {
|
|
36
|
+
interface XRPCQueries {
|
|
37
|
+
'app.bsky.feed.getQuotes': mainSchema;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyActorDefs from '../actor/defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getRepostedBy', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
9
|
+
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
|
+
limit: /*#__PURE__*/ v.optional(
|
|
11
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
12
|
+
50,
|
|
13
|
+
),
|
|
14
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
|
+
}),
|
|
16
|
+
output: {
|
|
17
|
+
type: 'lex',
|
|
18
|
+
schema: /*#__PURE__*/ v.object({
|
|
19
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
20
|
+
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
21
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
22
|
+
get repostedBy() {
|
|
23
|
+
return /*#__PURE__*/ v.array(AppBskyActorDefs.profileViewSchema);
|
|
24
|
+
},
|
|
25
|
+
}),
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
type main$schematype = typeof _mainSchema;
|
|
30
|
+
|
|
31
|
+
export interface mainSchema extends main$schematype {}
|
|
32
|
+
|
|
33
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
34
|
+
|
|
35
|
+
declare module '@atcute/lexicons/ambient' {
|
|
36
|
+
interface XRPCQueries {
|
|
37
|
+
'app.bsky.feed.getRepostedBy': mainSchema;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyFeedDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getSuggestedFeeds', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
limit: /*#__PURE__*/ v.optional(
|
|
9
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
10
|
+
50,
|
|
11
|
+
),
|
|
12
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
13
|
+
}),
|
|
14
|
+
output: {
|
|
15
|
+
type: 'lex',
|
|
16
|
+
schema: /*#__PURE__*/ v.object({
|
|
17
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
18
|
+
get feeds() {
|
|
19
|
+
return /*#__PURE__*/ v.array(AppBskyFeedDefs.generatorViewSchema);
|
|
20
|
+
},
|
|
21
|
+
}),
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
type main$schematype = typeof _mainSchema;
|
|
26
|
+
|
|
27
|
+
export interface mainSchema extends main$schematype {}
|
|
28
|
+
|
|
29
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
30
|
+
|
|
31
|
+
declare module '@atcute/lexicons/ambient' {
|
|
32
|
+
interface XRPCQueries {
|
|
33
|
+
'app.bsky.feed.getSuggestedFeeds': mainSchema;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyFeedDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.getTimeline', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
algorithm: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
|
+
limit: /*#__PURE__*/ v.optional(
|
|
10
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
11
|
+
50,
|
|
12
|
+
),
|
|
13
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
|
+
}),
|
|
15
|
+
output: {
|
|
16
|
+
type: 'lex',
|
|
17
|
+
schema: /*#__PURE__*/ v.object({
|
|
18
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
19
|
+
get feed() {
|
|
20
|
+
return /*#__PURE__*/ v.array(AppBskyFeedDefs.feedViewPostSchema);
|
|
21
|
+
},
|
|
22
|
+
}),
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
type main$schematype = typeof _mainSchema;
|
|
27
|
+
|
|
28
|
+
export interface mainSchema extends main$schematype {}
|
|
29
|
+
|
|
30
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
31
|
+
|
|
32
|
+
declare module '@atcute/lexicons/ambient' {
|
|
33
|
+
interface XRPCQueries {
|
|
34
|
+
'app.bsky.feed.getTimeline': mainSchema;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as ComAtprotoRepoStrongRef from '@atcute/atproto/types/repo/strongRef';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
7
|
+
/*#__PURE__*/ v.tidString(),
|
|
8
|
+
/*#__PURE__*/ v.object({
|
|
9
|
+
$type: /*#__PURE__*/ v.literal('app.bsky.feed.like'),
|
|
10
|
+
get subject() {
|
|
11
|
+
return ComAtprotoRepoStrongRef.mainSchema;
|
|
12
|
+
},
|
|
13
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
14
|
+
}),
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
type main$schematype = typeof _mainSchema;
|
|
18
|
+
|
|
19
|
+
export interface mainSchema extends main$schematype {}
|
|
20
|
+
|
|
21
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
22
|
+
|
|
23
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
24
|
+
|
|
25
|
+
declare module '@atcute/lexicons/ambient' {
|
|
26
|
+
interface Records {
|
|
27
|
+
'app.bsky.feed.like': mainSchema;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyEmbedExternal from '../embed/external.js';
|
|
5
|
+
import * as AppBskyEmbedImages from '../embed/images.js';
|
|
6
|
+
import * as AppBskyEmbedRecord from '../embed/record.js';
|
|
7
|
+
import * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia.js';
|
|
8
|
+
import * as AppBskyEmbedVideo from '../embed/video.js';
|
|
9
|
+
import * as AppBskyRichtextFacet from '../richtext/facet.js';
|
|
10
|
+
import * as ComAtprotoLabelDefs from '@atcute/atproto/types/label/defs';
|
|
11
|
+
import * as ComAtprotoRepoStrongRef from '@atcute/atproto/types/repo/strongRef';
|
|
12
|
+
|
|
13
|
+
const _entitySchema = /*#__PURE__*/ v.object({
|
|
14
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.feed.post#entity')),
|
|
15
|
+
get index() {
|
|
16
|
+
return textSliceSchema;
|
|
17
|
+
},
|
|
18
|
+
type: /*#__PURE__*/ v.string(),
|
|
19
|
+
value: /*#__PURE__*/ v.string(),
|
|
20
|
+
});
|
|
21
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
22
|
+
/*#__PURE__*/ v.tidString(),
|
|
23
|
+
/*#__PURE__*/ v.object({
|
|
24
|
+
$type: /*#__PURE__*/ v.literal('app.bsky.feed.post'),
|
|
25
|
+
text: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
26
|
+
/*#__PURE__*/ v.stringLength(0, 3000),
|
|
27
|
+
/*#__PURE__*/ v.stringGraphemes(0, 300),
|
|
28
|
+
]),
|
|
29
|
+
get entities() {
|
|
30
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(entitySchema));
|
|
31
|
+
},
|
|
32
|
+
get facets() {
|
|
33
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(AppBskyRichtextFacet.mainSchema));
|
|
34
|
+
},
|
|
35
|
+
get reply() {
|
|
36
|
+
return /*#__PURE__*/ v.optional(replyRefSchema);
|
|
37
|
+
},
|
|
38
|
+
get embed() {
|
|
39
|
+
return /*#__PURE__*/ v.optional(
|
|
40
|
+
/*#__PURE__*/ v.variant([
|
|
41
|
+
AppBskyEmbedImages.mainSchema,
|
|
42
|
+
AppBskyEmbedVideo.mainSchema,
|
|
43
|
+
AppBskyEmbedExternal.mainSchema,
|
|
44
|
+
AppBskyEmbedRecord.mainSchema,
|
|
45
|
+
AppBskyEmbedRecordWithMedia.mainSchema,
|
|
46
|
+
]),
|
|
47
|
+
);
|
|
48
|
+
},
|
|
49
|
+
langs: /*#__PURE__*/ v.optional(
|
|
50
|
+
/*#__PURE__*/ v.constrain(v.array(/*#__PURE__*/ v.languageCodeString()), [
|
|
51
|
+
/*#__PURE__*/ v.arrayLength(0, 3),
|
|
52
|
+
]),
|
|
53
|
+
),
|
|
54
|
+
get labels() {
|
|
55
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.variant([ComAtprotoLabelDefs.selfLabelsSchema]));
|
|
56
|
+
},
|
|
57
|
+
tags: /*#__PURE__*/ v.optional(
|
|
58
|
+
/*#__PURE__*/ v.constrain(
|
|
59
|
+
v.array(
|
|
60
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
61
|
+
/*#__PURE__*/ v.stringLength(0, 640),
|
|
62
|
+
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
63
|
+
]),
|
|
64
|
+
),
|
|
65
|
+
[/*#__PURE__*/ v.arrayLength(0, 8)],
|
|
66
|
+
),
|
|
67
|
+
),
|
|
68
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
69
|
+
}),
|
|
70
|
+
);
|
|
71
|
+
const _replyRefSchema = /*#__PURE__*/ v.object({
|
|
72
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.feed.post#replyRef')),
|
|
73
|
+
get root() {
|
|
74
|
+
return ComAtprotoRepoStrongRef.mainSchema;
|
|
75
|
+
},
|
|
76
|
+
get parent() {
|
|
77
|
+
return ComAtprotoRepoStrongRef.mainSchema;
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
const _textSliceSchema = /*#__PURE__*/ v.object({
|
|
81
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.feed.post#textSlice')),
|
|
82
|
+
start: /*#__PURE__*/ v.integer(),
|
|
83
|
+
end: /*#__PURE__*/ v.integer(),
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
type entity$schematype = typeof _entitySchema;
|
|
87
|
+
type main$schematype = typeof _mainSchema;
|
|
88
|
+
type replyRef$schematype = typeof _replyRefSchema;
|
|
89
|
+
type textSlice$schematype = typeof _textSliceSchema;
|
|
90
|
+
|
|
91
|
+
export interface entitySchema extends entity$schematype {}
|
|
92
|
+
export interface mainSchema extends main$schematype {}
|
|
93
|
+
export interface replyRefSchema extends replyRef$schematype {}
|
|
94
|
+
export interface textSliceSchema extends textSlice$schematype {}
|
|
95
|
+
|
|
96
|
+
export const entitySchema = _entitySchema as entitySchema;
|
|
97
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
98
|
+
export const replyRefSchema = _replyRefSchema as replyRefSchema;
|
|
99
|
+
export const textSliceSchema = _textSliceSchema as textSliceSchema;
|
|
100
|
+
|
|
101
|
+
export interface Entity extends v.InferInput<typeof entitySchema> {}
|
|
102
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
103
|
+
export interface ReplyRef extends v.InferInput<typeof replyRefSchema> {}
|
|
104
|
+
export interface TextSlice extends v.InferInput<typeof textSliceSchema> {}
|
|
105
|
+
|
|
106
|
+
declare module '@atcute/lexicons/ambient' {
|
|
107
|
+
interface Records {
|
|
108
|
+
'app.bsky.feed.post': mainSchema;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _disableRuleSchema = /*#__PURE__*/ v.object({
|
|
6
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.feed.postgate#disableRule')),
|
|
7
|
+
});
|
|
8
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
9
|
+
/*#__PURE__*/ v.tidString(),
|
|
10
|
+
/*#__PURE__*/ v.object({
|
|
11
|
+
$type: /*#__PURE__*/ v.literal('app.bsky.feed.postgate'),
|
|
12
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
13
|
+
post: /*#__PURE__*/ v.resourceUriString(),
|
|
14
|
+
detachedEmbeddingUris: /*#__PURE__*/ v.optional(
|
|
15
|
+
/*#__PURE__*/ v.constrain(v.array(/*#__PURE__*/ v.resourceUriString()), [
|
|
16
|
+
/*#__PURE__*/ v.arrayLength(0, 50),
|
|
17
|
+
]),
|
|
18
|
+
),
|
|
19
|
+
get embeddingRules() {
|
|
20
|
+
return /*#__PURE__*/ v.optional(
|
|
21
|
+
/*#__PURE__*/ v.constrain(v.array(/*#__PURE__*/ v.variant([disableRuleSchema])), [
|
|
22
|
+
/*#__PURE__*/ v.arrayLength(0, 5),
|
|
23
|
+
]),
|
|
24
|
+
);
|
|
25
|
+
},
|
|
26
|
+
}),
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
type disableRule$schematype = typeof _disableRuleSchema;
|
|
30
|
+
type main$schematype = typeof _mainSchema;
|
|
31
|
+
|
|
32
|
+
export interface disableRuleSchema extends disableRule$schematype {}
|
|
33
|
+
export interface mainSchema extends main$schematype {}
|
|
34
|
+
|
|
35
|
+
export const disableRuleSchema = _disableRuleSchema as disableRuleSchema;
|
|
36
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
37
|
+
|
|
38
|
+
export interface DisableRule extends v.InferInput<typeof disableRuleSchema> {}
|
|
39
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
40
|
+
|
|
41
|
+
declare module '@atcute/lexicons/ambient' {
|
|
42
|
+
interface Records {
|
|
43
|
+
'app.bsky.feed.postgate': mainSchema;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as ComAtprotoRepoStrongRef from '@atcute/atproto/types/repo/strongRef';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
7
|
+
/*#__PURE__*/ v.tidString(),
|
|
8
|
+
/*#__PURE__*/ v.object({
|
|
9
|
+
$type: /*#__PURE__*/ v.literal('app.bsky.feed.repost'),
|
|
10
|
+
get subject() {
|
|
11
|
+
return ComAtprotoRepoStrongRef.mainSchema;
|
|
12
|
+
},
|
|
13
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
14
|
+
}),
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
type main$schematype = typeof _mainSchema;
|
|
18
|
+
|
|
19
|
+
export interface mainSchema extends main$schematype {}
|
|
20
|
+
|
|
21
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
22
|
+
|
|
23
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
24
|
+
|
|
25
|
+
declare module '@atcute/lexicons/ambient' {
|
|
26
|
+
interface Records {
|
|
27
|
+
'app.bsky.feed.repost': mainSchema;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as AppBskyFeedDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.feed.searchPosts', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
q: /*#__PURE__*/ v.string(),
|
|
9
|
+
sort: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string<'top' | 'latest' | (string & {})>(), 'latest'),
|
|
10
|
+
since: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
11
|
+
until: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
|
+
mentions: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.actorIdentifierString()),
|
|
13
|
+
author: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.actorIdentifierString()),
|
|
14
|
+
lang: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.languageCodeString()),
|
|
15
|
+
domain: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
16
|
+
url: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
17
|
+
tag: /*#__PURE__*/ v.optional(
|
|
18
|
+
/*#__PURE__*/ v.array(
|
|
19
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
20
|
+
/*#__PURE__*/ v.stringLength(0, 640),
|
|
21
|
+
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
22
|
+
]),
|
|
23
|
+
),
|
|
24
|
+
),
|
|
25
|
+
limit: /*#__PURE__*/ v.optional(
|
|
26
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
27
|
+
25,
|
|
28
|
+
),
|
|
29
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
30
|
+
}),
|
|
31
|
+
output: {
|
|
32
|
+
type: 'lex',
|
|
33
|
+
schema: /*#__PURE__*/ v.object({
|
|
34
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
35
|
+
hitsTotal: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
36
|
+
get posts() {
|
|
37
|
+
return /*#__PURE__*/ v.array(AppBskyFeedDefs.postViewSchema);
|
|
38
|
+
},
|
|
39
|
+
}),
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
type main$schematype = typeof _mainSchema;
|
|
44
|
+
|
|
45
|
+
export interface mainSchema extends main$schematype {}
|
|
46
|
+
|
|
47
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
48
|
+
|
|
49
|
+
declare module '@atcute/lexicons/ambient' {
|
|
50
|
+
interface XRPCQueries {
|
|
51
|
+
'app.bsky.feed.searchPosts': mainSchema;
|
|
52
|
+
}
|
|
53
|
+
}
|