Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/bluesky

src/list-notifications.ts

14 lines · 588 B · TypeScript
import { 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:@kody/bluesky/list-notifications'
 * const result = await listNotifications({ limit: 20 })
 * // => { notifications: [...], cursor: '...' }
 */
export default async function listNotificationsEntrypoint(params: ListNotificationsInput = {}) {
  return await listNotifications(params)
}