This commit is contained in:
sajjadtalkhabi
2026-05-15 17:12:51 +03:30
parent b8ced45375
commit c82701888a
101 changed files with 8125 additions and 96 deletions
@@ -0,0 +1,93 @@
const sampleSessions = (seed) => [
{
id: `${seed}-s1`,
title: 'جلسه یک - مبانی اندیشه اسلامی',
durationHours: 18,
isSeen: true,
hasQuiz: true,
isOnline: true,
needsAssignment: true,
},
{
id: `${seed}-s2`,
title: 'جلسه دو - مبانی اندیشه اسلامی',
durationHours: 18,
isSeen: false,
hasQuiz: true,
isOnline: true,
needsAssignment: false,
},
{
id: `${seed}-s3`,
title: 'جلسه سه - مبانی اندیشه اسلامی',
durationHours: 12,
isSeen: false,
hasQuiz: false,
isOnline: false,
needsAssignment: false,
},
]
const sampleExams = (seed) => [
{
id: `${seed}-e1`,
title: 'آزمون جلسه اول',
durationMinutes: 12,
passingScore: 12,
questionsCount: 6,
},
{
id: `${seed}-e2`,
title: 'آزمون جلسه دوم',
durationMinutes: 20,
passingScore: 14,
questionsCount: 10,
},
]
export const studentLessons = [
{
id: '1-l1',
title: 'درس مبانی اندیشه اسلامی',
sessionsCount: 3,
quizzesCount: 3,
studentsCount: 34,
endDate: '2025-09-03T00:00:00.000Z',
faEndDate: '۱۴۰۴/۰۶/۱۲',
sessions: sampleSessions('1-l1'),
exams: sampleExams('1-l1'),
},
{
id: '1-l2',
title: 'درس اصول اخلاق اسلامی',
sessionsCount: 3,
quizzesCount: 3,
studentsCount: 34,
endDate: '2025-09-03T00:00:00.000Z',
faEndDate: '۱۴۰۴/۰۶/۱۲',
sessions: sampleSessions('1-l2'),
exams: sampleExams('1-l2'),
},
{
id: '2-l1',
title: 'درس مبانی اندیشه اسلامی',
sessionsCount: 3,
quizzesCount: 3,
studentsCount: 34,
endDate: '2025-09-03T00:00:00.000Z',
faEndDate: '۱۴۰۴/۰۶/۱۲',
sessions: sampleSessions('2-l1'),
exams: sampleExams('2-l1'),
},
{
id: '2-l2',
title: 'درس اصول اخلاق اسلامی',
sessionsCount: 3,
quizzesCount: 3,
studentsCount: 34,
endDate: '2025-09-03T00:00:00.000Z',
faEndDate: '۱۴۰۴/۰۶/۱۲',
sessions: sampleSessions('2-l2'),
exams: sampleExams('2-l2'),
},
]