import { COL_QUIZ_CR_QUESTIONS } from '@/constants';
import type { RecordModel } from 'pocketbase';

import { pb } from '@/lib/pb';

export default function getAllQuizCRQuestions(): Promise<RecordModel[]> {
  return pb.collection(COL_QUIZ_CR_QUESTIONS).getFullList();
}
