← Public packages
@kentcdodds/bluesky
Bluesky and AT Protocol helpers using package-storage handle plus blueskyAppPassword.
src/list-notifications.ts
14 lines · 594 B · TypeScriptimport { listNotifications } from './client.ts'
import type { ListNotificationsInput } from './types.ts'
/**
* List authenticated Bluesky notifications for the current account.
* @returns Notification page with `notifications` and optional `cursor`.
* @example
* import listNotifications from 'kody:@kentcdodds/bluesky/list-notifications'
* const result = await listNotifications({ limit: 20 })
* // => { notifications: [...], cursor: '...' }
*/
export default async function listNotificationsEntrypoint(params: ListNotificationsInput = {}) {
return await listNotifications(params)
}