// PURPOSE: // Delete notification record by ID // // RULES: // 1. Uses COL_NOTIFICATIONS collection // 2. Requires valid notification ID string // 3. Returns Promise indicating success // 4. Errors handled by caller import { pb } from '@/lib/pb'; import { COL_NOTIFICATIONS } from '@/constants'; export async function deleteNotification(id: string): Promise { return pb.collection(COL_NOTIFICATIONS).delete(id); }