update fix import path,

This commit is contained in:
louiscklaw
2025-04-22 12:29:56 +08:00
parent 033ca95dfe
commit 01ce517629
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ import { COL_QUIZ_LP_CATEGORIES } from '@/constants';
import type { RecordModel } from 'pocketbase';
import { pb } from '@/lib/pb';
import { CreateFormProps } from '@/components/dashboard/lp_categories/type';
import { CreateFormProps } from '@/components/dashboard/lp/categories/type';
export default function createQuizLPCategory(data: CreateFormProps): Promise<RecordModel> {
return pb.collection(COL_QUIZ_LP_CATEGORIES).create(data);

View File

@@ -2,7 +2,7 @@ import { COL_QUIZ_LP_QUESTIONS } from '@/constants';
import type { RecordModel } from 'pocketbase';
import { pb } from '@/lib/pb';
import { CreateFormProps } from '@/components/dashboard/lp_questions/type';
import type { CreateFormProps } from '@/components/dashboard/lp/questions/type';
// interface CreateForm {
// // TODO: Add QuizLPQuestions fields