import type { TCourseType } from '@cio/db/types'; import { writable } from 'svelte/store'; type CourseSettings = { logo: string; courseTitle: string; courseDescription: string; grading: boolean; type: 'LIVE_CLASS' | 'SELF_PACED'; allowNewStudents: boolean; tabs: { id: number; name: string }[]; lessonDownload: boolean; isPublished: boolean; isContentGroupingEnabled: boolean; }; export const settings = writable({ logo: '', courseTitle: '', courseDescription: '', grading: false, type: 'LIVE_CLASS' as TCourseType, allowNewStudents: false, tabs: [ { id: 1, name: 'course.navItem.lessons.materials.tabs.note.title' }, { id: 2, name: 'course.navItem.lessons.materials.tabs.slide.title' }, { id: 3, name: 'course.navItem.lessons.materials.tabs.video.title' }, { id: 4, name: 'course.navItem.lessons.materials.tabs.document.title' } ], lessonDownload: false, isPublished: false, isContentGroupingEnabled: true });