// api method for get all notification records
// RULES:
// TBA
import { pb } from '@/lib/pb';
import { COL_NOTIFICATIONS } from '@/constants';
import { RecordModel } from 'pocketbase';

export async function getAllNotifications(options = {}): Promise<RecordModel[]> {
  return pb.collection(COL_NOTIFICATIONS).getFullList(options);
}
