update build ok,

This commit is contained in:
louiscklaw
2025-04-22 18:53:17 +08:00
parent f87dd2c3b1
commit 64b5f89fdf
30 changed files with 232 additions and 35 deletions

View File

@@ -0,0 +1,8 @@
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();
}