@atcute/bluesky 2.1.1 → 3.0.1
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 +370 -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 +38 -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 +79 -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 +42 -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 +138 -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 +29 -0
- package/dist/lexicons/types/app/bsky/unspecced/getConfig.js +21 -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 +21 -0
- package/dist/lexicons/types/app/bsky/video/uploadVideo.js +19 -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 +15 -0
- package/dist/lexicons/types/chat/bsky/actor/exportAccountData.js +10 -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 +33 -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/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 +495 -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 +55 -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 +187 -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 +38 -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 +32 -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 +23 -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 +50 -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 +19 -9
- 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,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 AppBskyActorDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('app.bsky.actor.putPreferences', {
|
|
7
|
+
params: null,
|
|
8
|
+
input: {
|
|
9
|
+
type: 'lex',
|
|
10
|
+
schema: /*#__PURE__*/ v.object({
|
|
11
|
+
get preferences() {
|
|
12
|
+
return AppBskyActorDefs.preferencesSchema;
|
|
13
|
+
},
|
|
14
|
+
}),
|
|
15
|
+
},
|
|
16
|
+
output: null,
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
type main$schematype = typeof _mainSchema;
|
|
20
|
+
|
|
21
|
+
export interface mainSchema extends main$schematype {}
|
|
22
|
+
|
|
23
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
24
|
+
|
|
25
|
+
declare module '@atcute/lexicons/ambient' {
|
|
26
|
+
interface XRPCProcedures {
|
|
27
|
+
'app.bsky.actor.putPreferences': mainSchema;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.actor.searchActors', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
term: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
|
+
q: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
|
+
limit: /*#__PURE__*/ v.optional(
|
|
11
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
12
|
+
25,
|
|
13
|
+
),
|
|
14
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
|
+
}),
|
|
16
|
+
output: {
|
|
17
|
+
type: 'lex',
|
|
18
|
+
schema: /*#__PURE__*/ v.object({
|
|
19
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
20
|
+
get actors() {
|
|
21
|
+
return /*#__PURE__*/ v.array(AppBskyActorDefs.profileViewSchema);
|
|
22
|
+
},
|
|
23
|
+
}),
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
type main$schematype = typeof _mainSchema;
|
|
28
|
+
|
|
29
|
+
export interface mainSchema extends main$schematype {}
|
|
30
|
+
|
|
31
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
32
|
+
|
|
33
|
+
declare module '@atcute/lexicons/ambient' {
|
|
34
|
+
interface XRPCQueries {
|
|
35
|
+
'app.bsky.actor.searchActors': mainSchema;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -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 AppBskyActorDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('app.bsky.actor.searchActorsTypeahead', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
term: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
|
+
q: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
|
+
limit: /*#__PURE__*/ v.optional(
|
|
11
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
12
|
+
10,
|
|
13
|
+
),
|
|
14
|
+
}),
|
|
15
|
+
output: {
|
|
16
|
+
type: 'lex',
|
|
17
|
+
schema: /*#__PURE__*/ v.object({
|
|
18
|
+
get actors() {
|
|
19
|
+
return /*#__PURE__*/ v.array(AppBskyActorDefs.profileViewBasicSchema);
|
|
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.actor.searchActorsTypeahead': mainSchema;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
|
|
6
|
+
const _liveSchema = /*#__PURE__*/ v.literal('app.bsky.actor.status#live');
|
|
7
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
8
|
+
/*#__PURE__*/ v.literal('self'),
|
|
9
|
+
/*#__PURE__*/ v.object({
|
|
10
|
+
$type: /*#__PURE__*/ v.literal('app.bsky.actor.status'),
|
|
11
|
+
status: /*#__PURE__*/ v.string<'app.bsky.actor.status#live' | (string & {})>(),
|
|
12
|
+
get embed() {
|
|
13
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.variant([AppBskyEmbedExternal.mainSchema]));
|
|
14
|
+
},
|
|
15
|
+
durationMinutes: /*#__PURE__*/ v.optional(
|
|
16
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1)]),
|
|
17
|
+
),
|
|
18
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
19
|
+
}),
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
type live$schematype = typeof _liveSchema;
|
|
23
|
+
type main$schematype = typeof _mainSchema;
|
|
24
|
+
|
|
25
|
+
export interface liveSchema extends live$schematype {}
|
|
26
|
+
export interface mainSchema extends main$schematype {}
|
|
27
|
+
|
|
28
|
+
export const liveSchema = _liveSchema as liveSchema;
|
|
29
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
30
|
+
|
|
31
|
+
export type Live = v.InferInput<typeof liveSchema>;
|
|
32
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
33
|
+
|
|
34
|
+
declare module '@atcute/lexicons/ambient' {
|
|
35
|
+
interface Records {
|
|
36
|
+
'app.bsky.actor.status': mainSchema;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
|
|
4
|
+
const _aspectRatioSchema = /*#__PURE__*/ v.object({
|
|
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
|
+
height: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1)]),
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
type aspectRatio$schematype = typeof _aspectRatioSchema;
|
|
11
|
+
|
|
12
|
+
export interface aspectRatioSchema extends aspectRatio$schematype {}
|
|
13
|
+
|
|
14
|
+
export const aspectRatioSchema = _aspectRatioSchema as aspectRatioSchema;
|
|
15
|
+
|
|
16
|
+
export interface AspectRatio extends v.InferInput<typeof aspectRatioSchema> {}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
|
|
4
|
+
const _externalSchema = /*#__PURE__*/ v.object({
|
|
5
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external#external')),
|
|
6
|
+
uri: /*#__PURE__*/ v.genericUriString(),
|
|
7
|
+
title: /*#__PURE__*/ v.string(),
|
|
8
|
+
description: /*#__PURE__*/ v.string(),
|
|
9
|
+
thumb: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.blob()),
|
|
10
|
+
});
|
|
11
|
+
const _mainSchema = /*#__PURE__*/ v.object({
|
|
12
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external')),
|
|
13
|
+
get external() {
|
|
14
|
+
return externalSchema;
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
const _viewSchema = /*#__PURE__*/ v.object({
|
|
18
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external#view')),
|
|
19
|
+
get external() {
|
|
20
|
+
return viewExternalSchema;
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
const _viewExternalSchema = /*#__PURE__*/ v.object({
|
|
24
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.external#viewExternal')),
|
|
25
|
+
uri: /*#__PURE__*/ v.genericUriString(),
|
|
26
|
+
title: /*#__PURE__*/ v.string(),
|
|
27
|
+
description: /*#__PURE__*/ v.string(),
|
|
28
|
+
thumb: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
type external$schematype = typeof _externalSchema;
|
|
32
|
+
type main$schematype = typeof _mainSchema;
|
|
33
|
+
type view$schematype = typeof _viewSchema;
|
|
34
|
+
type viewExternal$schematype = typeof _viewExternalSchema;
|
|
35
|
+
|
|
36
|
+
export interface externalSchema extends external$schematype {}
|
|
37
|
+
export interface mainSchema extends main$schematype {}
|
|
38
|
+
export interface viewSchema extends view$schematype {}
|
|
39
|
+
export interface viewExternalSchema extends viewExternal$schematype {}
|
|
40
|
+
|
|
41
|
+
export const externalSchema = _externalSchema as externalSchema;
|
|
42
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
43
|
+
export const viewSchema = _viewSchema as viewSchema;
|
|
44
|
+
export const viewExternalSchema = _viewExternalSchema as viewExternalSchema;
|
|
45
|
+
|
|
46
|
+
export interface External extends v.InferInput<typeof externalSchema> {}
|
|
47
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
48
|
+
export interface View extends v.InferInput<typeof viewSchema> {}
|
|
49
|
+
export interface ViewExternal extends v.InferInput<typeof viewExternalSchema> {}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import * as AppBskyEmbedDefs from './defs.js';
|
|
4
|
+
|
|
5
|
+
const _imageSchema = /*#__PURE__*/ v.object({
|
|
6
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.images#image')),
|
|
7
|
+
image: /*#__PURE__*/ v.blob(),
|
|
8
|
+
alt: /*#__PURE__*/ v.string(),
|
|
9
|
+
get aspectRatio() {
|
|
10
|
+
return /*#__PURE__*/ v.optional(AppBskyEmbedDefs.aspectRatioSchema);
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
const _mainSchema = /*#__PURE__*/ v.object({
|
|
14
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.images')),
|
|
15
|
+
get images() {
|
|
16
|
+
return /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(imageSchema), [/*#__PURE__*/ v.arrayLength(0, 4)]);
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
const _viewSchema = /*#__PURE__*/ v.object({
|
|
20
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.images#view')),
|
|
21
|
+
get images() {
|
|
22
|
+
return /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(viewImageSchema), [
|
|
23
|
+
/*#__PURE__*/ v.arrayLength(0, 4),
|
|
24
|
+
]);
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
const _viewImageSchema = /*#__PURE__*/ v.object({
|
|
28
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.images#viewImage')),
|
|
29
|
+
thumb: /*#__PURE__*/ v.genericUriString(),
|
|
30
|
+
fullsize: /*#__PURE__*/ v.genericUriString(),
|
|
31
|
+
alt: /*#__PURE__*/ v.string(),
|
|
32
|
+
get aspectRatio() {
|
|
33
|
+
return /*#__PURE__*/ v.optional(AppBskyEmbedDefs.aspectRatioSchema);
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
type image$schematype = typeof _imageSchema;
|
|
38
|
+
type main$schematype = typeof _mainSchema;
|
|
39
|
+
type view$schematype = typeof _viewSchema;
|
|
40
|
+
type viewImage$schematype = typeof _viewImageSchema;
|
|
41
|
+
|
|
42
|
+
export interface imageSchema extends image$schematype {}
|
|
43
|
+
export interface mainSchema extends main$schematype {}
|
|
44
|
+
export interface viewSchema extends view$schematype {}
|
|
45
|
+
export interface viewImageSchema extends viewImage$schematype {}
|
|
46
|
+
|
|
47
|
+
export const imageSchema = _imageSchema as imageSchema;
|
|
48
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
49
|
+
export const viewSchema = _viewSchema as viewSchema;
|
|
50
|
+
export const viewImageSchema = _viewImageSchema as viewImageSchema;
|
|
51
|
+
|
|
52
|
+
export interface Image extends v.InferInput<typeof imageSchema> {}
|
|
53
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
54
|
+
export interface View extends v.InferInput<typeof viewSchema> {}
|
|
55
|
+
export interface ViewImage extends v.InferInput<typeof viewImageSchema> {}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import * as AppBskyActorDefs from '../actor/defs.js';
|
|
4
|
+
import * as AppBskyEmbedExternal from './external.js';
|
|
5
|
+
import * as AppBskyEmbedImages from './images.js';
|
|
6
|
+
import * as AppBskyEmbedRecordWithMedia from './recordWithMedia.js';
|
|
7
|
+
import * as AppBskyEmbedVideo from './video.js';
|
|
8
|
+
import * as AppBskyFeedDefs from '../feed/defs.js';
|
|
9
|
+
import * as AppBskyGraphDefs from '../graph/defs.js';
|
|
10
|
+
import * as AppBskyLabelerDefs from '../labeler/defs.js';
|
|
11
|
+
import * as ComAtprotoLabelDefs from '@atcute/atproto/types/label/defs';
|
|
12
|
+
import * as ComAtprotoRepoStrongRef from '@atcute/atproto/types/repo/strongRef';
|
|
13
|
+
|
|
14
|
+
const _mainSchema = /*#__PURE__*/ v.object({
|
|
15
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.record')),
|
|
16
|
+
get record() {
|
|
17
|
+
return ComAtprotoRepoStrongRef.mainSchema;
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
const _viewSchema = /*#__PURE__*/ v.object({
|
|
21
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.record#view')),
|
|
22
|
+
get record() {
|
|
23
|
+
return /*#__PURE__*/ v.variant([
|
|
24
|
+
viewRecordSchema,
|
|
25
|
+
viewNotFoundSchema,
|
|
26
|
+
viewBlockedSchema,
|
|
27
|
+
viewDetachedSchema,
|
|
28
|
+
AppBskyFeedDefs.generatorViewSchema,
|
|
29
|
+
AppBskyGraphDefs.listViewSchema,
|
|
30
|
+
AppBskyLabelerDefs.labelerViewSchema,
|
|
31
|
+
AppBskyGraphDefs.starterPackViewBasicSchema,
|
|
32
|
+
]);
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
const _viewBlockedSchema = /*#__PURE__*/ v.object({
|
|
36
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.record#viewBlocked')),
|
|
37
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
38
|
+
blocked: /*#__PURE__*/ v.literal(true),
|
|
39
|
+
get author() {
|
|
40
|
+
return AppBskyFeedDefs.blockedAuthorSchema;
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
const _viewDetachedSchema = /*#__PURE__*/ v.object({
|
|
44
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.record#viewDetached')),
|
|
45
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
46
|
+
detached: /*#__PURE__*/ v.literal(true),
|
|
47
|
+
});
|
|
48
|
+
const _viewNotFoundSchema = /*#__PURE__*/ v.object({
|
|
49
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.record#viewNotFound')),
|
|
50
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
51
|
+
notFound: /*#__PURE__*/ v.literal(true),
|
|
52
|
+
});
|
|
53
|
+
const _viewRecordSchema = /*#__PURE__*/ v.object({
|
|
54
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.record#viewRecord')),
|
|
55
|
+
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
56
|
+
cid: /*#__PURE__*/ v.string(),
|
|
57
|
+
get author() {
|
|
58
|
+
return AppBskyActorDefs.profileViewBasicSchema;
|
|
59
|
+
},
|
|
60
|
+
value: /*#__PURE__*/ v.unknown(),
|
|
61
|
+
get labels() {
|
|
62
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(ComAtprotoLabelDefs.labelSchema));
|
|
63
|
+
},
|
|
64
|
+
replyCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
65
|
+
repostCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
66
|
+
likeCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
67
|
+
quoteCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
68
|
+
get embeds() {
|
|
69
|
+
return /*#__PURE__*/ v.optional(
|
|
70
|
+
/*#__PURE__*/ v.array(
|
|
71
|
+
/*#__PURE__*/ v.variant([
|
|
72
|
+
AppBskyEmbedImages.viewSchema,
|
|
73
|
+
AppBskyEmbedVideo.viewSchema,
|
|
74
|
+
AppBskyEmbedExternal.viewSchema,
|
|
75
|
+
viewSchema,
|
|
76
|
+
AppBskyEmbedRecordWithMedia.viewSchema,
|
|
77
|
+
]),
|
|
78
|
+
),
|
|
79
|
+
);
|
|
80
|
+
},
|
|
81
|
+
indexedAt: /*#__PURE__*/ v.datetimeString(),
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
type main$schematype = typeof _mainSchema;
|
|
85
|
+
type view$schematype = typeof _viewSchema;
|
|
86
|
+
type viewBlocked$schematype = typeof _viewBlockedSchema;
|
|
87
|
+
type viewDetached$schematype = typeof _viewDetachedSchema;
|
|
88
|
+
type viewNotFound$schematype = typeof _viewNotFoundSchema;
|
|
89
|
+
type viewRecord$schematype = typeof _viewRecordSchema;
|
|
90
|
+
|
|
91
|
+
export interface mainSchema extends main$schematype {}
|
|
92
|
+
export interface viewSchema extends view$schematype {}
|
|
93
|
+
export interface viewBlockedSchema extends viewBlocked$schematype {}
|
|
94
|
+
export interface viewDetachedSchema extends viewDetached$schematype {}
|
|
95
|
+
export interface viewNotFoundSchema extends viewNotFound$schematype {}
|
|
96
|
+
export interface viewRecordSchema extends viewRecord$schematype {}
|
|
97
|
+
|
|
98
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
99
|
+
export const viewSchema = _viewSchema as viewSchema;
|
|
100
|
+
export const viewBlockedSchema = _viewBlockedSchema as viewBlockedSchema;
|
|
101
|
+
export const viewDetachedSchema = _viewDetachedSchema as viewDetachedSchema;
|
|
102
|
+
export const viewNotFoundSchema = _viewNotFoundSchema as viewNotFoundSchema;
|
|
103
|
+
export const viewRecordSchema = _viewRecordSchema as viewRecordSchema;
|
|
104
|
+
|
|
105
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
106
|
+
export interface View extends v.InferInput<typeof viewSchema> {}
|
|
107
|
+
export interface ViewBlocked extends v.InferInput<typeof viewBlockedSchema> {}
|
|
108
|
+
export interface ViewDetached extends v.InferInput<typeof viewDetachedSchema> {}
|
|
109
|
+
export interface ViewNotFound extends v.InferInput<typeof viewNotFoundSchema> {}
|
|
110
|
+
export interface ViewRecord extends v.InferInput<typeof viewRecordSchema> {}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import * as AppBskyEmbedExternal from './external.js';
|
|
4
|
+
import * as AppBskyEmbedImages from './images.js';
|
|
5
|
+
import * as AppBskyEmbedRecord from './record.js';
|
|
6
|
+
import * as AppBskyEmbedVideo from './video.js';
|
|
7
|
+
|
|
8
|
+
const _mainSchema = /*#__PURE__*/ v.object({
|
|
9
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.recordWithMedia')),
|
|
10
|
+
get record() {
|
|
11
|
+
return AppBskyEmbedRecord.mainSchema;
|
|
12
|
+
},
|
|
13
|
+
get media() {
|
|
14
|
+
return /*#__PURE__*/ v.variant([
|
|
15
|
+
AppBskyEmbedImages.mainSchema,
|
|
16
|
+
AppBskyEmbedVideo.mainSchema,
|
|
17
|
+
AppBskyEmbedExternal.mainSchema,
|
|
18
|
+
]);
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
const _viewSchema = /*#__PURE__*/ v.object({
|
|
22
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.recordWithMedia#view')),
|
|
23
|
+
get record() {
|
|
24
|
+
return AppBskyEmbedRecord.viewSchema;
|
|
25
|
+
},
|
|
26
|
+
get media() {
|
|
27
|
+
return /*#__PURE__*/ v.variant([
|
|
28
|
+
AppBskyEmbedImages.viewSchema,
|
|
29
|
+
AppBskyEmbedVideo.viewSchema,
|
|
30
|
+
AppBskyEmbedExternal.viewSchema,
|
|
31
|
+
]);
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
type main$schematype = typeof _mainSchema;
|
|
36
|
+
type view$schematype = typeof _viewSchema;
|
|
37
|
+
|
|
38
|
+
export interface mainSchema extends main$schematype {}
|
|
39
|
+
export interface viewSchema extends view$schematype {}
|
|
40
|
+
|
|
41
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
42
|
+
export const viewSchema = _viewSchema as viewSchema;
|
|
43
|
+
|
|
44
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
45
|
+
export interface View extends v.InferInput<typeof viewSchema> {}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import * as AppBskyEmbedDefs from './defs.js';
|
|
4
|
+
|
|
5
|
+
const _captionSchema = /*#__PURE__*/ v.object({
|
|
6
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.video#caption')),
|
|
7
|
+
lang: /*#__PURE__*/ v.languageCodeString(),
|
|
8
|
+
file: /*#__PURE__*/ v.blob(),
|
|
9
|
+
});
|
|
10
|
+
const _mainSchema = /*#__PURE__*/ v.object({
|
|
11
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.video')),
|
|
12
|
+
video: /*#__PURE__*/ v.blob(),
|
|
13
|
+
get captions() {
|
|
14
|
+
return /*#__PURE__*/ v.optional(
|
|
15
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(captionSchema), [/*#__PURE__*/ v.arrayLength(0, 20)]),
|
|
16
|
+
);
|
|
17
|
+
},
|
|
18
|
+
alt: /*#__PURE__*/ v.optional(
|
|
19
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
20
|
+
/*#__PURE__*/ v.stringLength(0, 10000),
|
|
21
|
+
/*#__PURE__*/ v.stringGraphemes(0, 1000),
|
|
22
|
+
]),
|
|
23
|
+
),
|
|
24
|
+
get aspectRatio() {
|
|
25
|
+
return /*#__PURE__*/ v.optional(AppBskyEmbedDefs.aspectRatioSchema);
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
const _viewSchema = /*#__PURE__*/ v.object({
|
|
29
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.embed.video#view')),
|
|
30
|
+
cid: /*#__PURE__*/ v.string(),
|
|
31
|
+
playlist: /*#__PURE__*/ v.genericUriString(),
|
|
32
|
+
thumbnail: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
33
|
+
alt: /*#__PURE__*/ v.optional(
|
|
34
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
35
|
+
/*#__PURE__*/ v.stringLength(0, 10000),
|
|
36
|
+
/*#__PURE__*/ v.stringGraphemes(0, 1000),
|
|
37
|
+
]),
|
|
38
|
+
),
|
|
39
|
+
get aspectRatio() {
|
|
40
|
+
return /*#__PURE__*/ v.optional(AppBskyEmbedDefs.aspectRatioSchema);
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
type caption$schematype = typeof _captionSchema;
|
|
45
|
+
type main$schematype = typeof _mainSchema;
|
|
46
|
+
type view$schematype = typeof _viewSchema;
|
|
47
|
+
|
|
48
|
+
export interface captionSchema extends caption$schematype {}
|
|
49
|
+
export interface mainSchema extends main$schematype {}
|
|
50
|
+
export interface viewSchema extends view$schematype {}
|
|
51
|
+
|
|
52
|
+
export const captionSchema = _captionSchema as captionSchema;
|
|
53
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
54
|
+
export const viewSchema = _viewSchema as viewSchema;
|
|
55
|
+
|
|
56
|
+
export interface Caption extends v.InferInput<typeof captionSchema> {}
|
|
57
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
58
|
+
export interface View extends v.InferInput<typeof viewSchema> {}
|