// PURPOSE:
// Delete notification record by ID
//
// RULES:
// 1. Uses COL_NOTIFICATIONS collection
// 2. Requires valid notification ID string
// 3. Returns Promise<boolean> indicating success
// 4. Errors handled by caller
import { pb } from '@/lib/pb';
import { COL_NOTIFICATIONS } from '@/constants';

export async function deleteNotification(id: string): Promise<boolean> {
  return pb.collection(COL_NOTIFICATIONS).delete(id);
}
