```
update Implement standardized documentation for all database modules, including purpose, rules, and requirements for each CRUD operation; refactor existing comments to follow new documentation standard ```
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
// api method for delete notification record
|
||||
// PURPOSE:
|
||||
// Delete notification record by ID
|
||||
//
|
||||
// RULES:
|
||||
// TBA
|
||||
// 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';
|
||||
|
||||
|
Reference in New Issue
Block a user