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,13 @@
import { COL_QUIZ_CR_QUESTIONS } from '@/constants';
import type { RecordModel } from 'pocketbase';
import { pb } from '@/lib/pb';
import type { CreateFormProps } from '@/components/dashboard/cr/questions/type';
// interface CreateForm {
// // TODO: Add QuizCRQuestions fields
// }
export default function createQuizCRQuestion(data: CreateFormProps): Promise<RecordModel> {
return pb.collection(COL_QUIZ_CR_QUESTIONS).create(data);
}