fix: page styling, search page

This commit is contained in:
Sheldon Cooper 2026-01-17 15:46:49 -05:00
parent ee8ac6fd85
commit 2db955bd7b
8 changed files with 54 additions and 34 deletions

View file

@ -1,51 +1,57 @@
export interface SearchResult {
terms: number;
results: LemmaDto[];
lects: LectDto[];
}
export interface LemmaDto {
lemma_name: string;
word_forms: WordFormDto[];
examples: ExampleDto[];
definitions: DefinitionDto[];
comments: CommentDto[];
media: MediaDto[];
lemma_name: string;
word_forms: WordFormDto[];
examples: ExampleDto[];
definitions: DefinitionDto[];
comments: CommentDto[];
media: MediaDto[];
parts_of_speech: PartOfSpeechDto[];
}
export interface LectDto {
name: string;
name: string;
word_forms: WordFormDto[];
}
export interface WordFormDto {
word_form_id: number;
word_form: string;
lemma: LemmaDto;
word_form_id: number;
word_form: string;
lemma: LemmaDto;
lect: LectDto;
}
export interface ExampleDto {
example_id: number;
example_text: string;
example_id: number;
example_text: string;
lemma: LemmaDto;
}
export interface MediaDto {
media_id: number;
media_url: string;
media_id: number;
media_url: string;
lemma: LemmaDto;
}
export interface DefinitionDto {
definition_id: number;
definition_text: string;
definition_id: number;
definition_text: string;
lemma: LemmaDto;
}
export interface CommentDto {
comment_id: number;
comment_text: string;
comment_id: number;
comment_text: string;
lemma: LemmaDto;
}
export interface PartOfSpeechDto {
long_form: string;
long_form: string;
short_form: string;
}