Spaces:
Sleeping
Sleeping
Download src/types/syllabus.ts from sameernotes/3-s: direct link, hf CLI and curl.
- Browser
- Download file 1 kB
-
https://huggingface.co/spaces/sameernotes/3-s/resolve/main/src/types/syllabus.ts
- Command line
-
hf download hf://spaces/sameernotes/3-s/src/types/syllabus.ts
-
curl -L -o syllabus.ts https://huggingface.co/spaces/sameernotes/3-s/resolve/main/src/types/syllabus.ts
1 kB
| export interface SyllabusLink { | |
| text: string; | |
| url: string; | |
| } | |
| export interface HierarchicalContentNode { | |
| text: string; | |
| isCode?: boolean; | |
| children?: HierarchicalContentNode[]; | |
| } | |
| export interface SyllabusUnit { | |
| title: string; | |
| // content: string; // Original paragraph content - replaced | |
| structuredContent?: HierarchicalContentNode[]; // New structured content | |
| } | |
| export interface SyllabusPaper { | |
| type: 'paper'; | |
| title:string; | |
| maxMarks: number; | |
| minMarks: number; | |
| note?: string; | |
| courseOutcomes: string[]; | |
| units: SyllabusUnit[]; | |
| recommendedBooks: string[]; | |
| digitalPlatforms: SyllabusLink[]; | |
| } | |
| export interface PracticalProgram { | |
| id: string; | |
| description: string; | |
| } | |
| export interface SyllabusPractical { | |
| type: 'practical'; | |
| title: string; | |
| maxMarks?: number; | |
| minMarks?: number; | |
| note?: string; | |
| examinationSchemeIntro: string; | |
| examinationSchemeMarks: string[]; | |
| programs: PracticalProgram[]; | |
| } | |
| export type SyllabusCourse = SyllabusPaper | SyllabusPractical; | |