Spaces:
Running
Running
| export interface Paper { | |
| id: string; | |
| title: string; | |
| authors: string[]; | |
| abstract: string; | |
| published: string; | |
| updated: string; | |
| categories: string[]; | |
| pdfLink: string; | |
| htmlLink: string; | |
| introduction?: string; | |
| relatedWork?: string; | |
| methods?: string; | |
| references?: Reference[]; | |
| abstractZh?: string; | |
| introductionZh?: string; | |
| relatedWorkZh?: string; | |
| methodsZh?: string; | |
| sectionsLoaded: boolean; | |
| sectionsLoading: boolean; | |
| sectionsError?: string; | |
| } | |
| export interface Reference { | |
| key: string; | |
| number: string; | |
| text: string; | |
| arxivId?: string; | |
| } | |
| export interface Highlight { | |
| id: string; | |
| text: string; | |
| paperTitle: string; | |
| paperId: string; | |
| section: SectionType; | |
| timestamp: number; | |
| } | |
| export interface Category { | |
| id: string; | |
| name: string; | |
| color: string; | |
| } | |
| export interface FavoritePaper { | |
| paperId: string; | |
| paperTitle: string; | |
| paperAuthors: string[]; | |
| categoryId: string; | |
| timestamp: number; | |
| } | |
| export type SectionType = 'abstract' | 'introduction' | 'relatedWork' | 'methods'; | |
| export type ViewType = 'search' | 'detail' | 'favorites' | 'highlights'; | |