UNPKG

use-bluesky

Version:

React hooks to interact with the Bluesky API

12 lines (11 loc) 797 B
export declare const BLUESKY_API_URL = "https://public.api.bsky.app"; export declare const ACTOR_STARTER_PACKS_ROUTE = "/xrpc/app.bsky.graph.getActorStarterPacks"; export declare const PROFILE_ROUTE = "/xrpc/app.bsky.actor.getProfile"; export declare const FOLLOWERS_ROUTE = "/xrpc/app.bsky.graph.getFollowers"; export declare const FOLLOWS_ROUTE = "/xrpc/app.bsky.graph.getFollows"; export declare const LIST_ROUTE = "/xrpc/app.bsky.graph.getList"; export declare const RESOLVE_HANDLE_ROUTE = "/xrpc/com.atproto.identity.resolveHandle"; export declare const STARTER_PACK_ROUTE = "/xrpc/app.bsky.graph.getStarterPack"; export declare const SEARCH_ACTORS_ROUTE = "/xrpc/app.bsky.actor.searchActors"; export declare const FOLLOW_ROUTE = "/follow"; export declare const UNFOLLOW_ROUTE = "/unfollow";