import { likePost } from './client.ts'
import type { LikeRepostInput } from './types.ts'
/**
* Like a Bluesky post. Publishing requires `confirm: true`.
* @param params.uri - Post AT URI to like.
* @param params.cid - Post CID matching the URI.
* @returns Created like record or dry-run payload.
* @example
* import likePost from 'kody:@kody/bluesky/like-post'
* const result = await likePost({ uri: 'at://...', cid: 'bafy...', dryRun: true })
* // => { dryRun: true, action: 'like-post', payload: { ... } }
*/
export default async function likePostEntrypoint(params: LikeRepostInput = {}) {
return await likePost(params)
}