Skip to content

Commit

Permalink
fix type format
Browse files Browse the repository at this point in the history
  • Loading branch information
solaoi committed Mar 25, 2023
1 parent 5ca4992 commit bb0a75e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/type/DeleteCompletion.type.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type DeleteCompletionType = {
note_id: number,
is_finished: boolean
note_id: number;
is_finished: boolean;
}
8 changes: 4 additions & 4 deletions src/type/Note.type.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export type NoteType = {
id? : number
note_title: string
is_archived?: boolean
created_at_unixtime?: number
id? : number;
note_title: string;
is_archived?: boolean;
created_at_unixtime?: number;
}
16 changes: 8 additions & 8 deletions src/type/SpeechHistory.type.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export type SpeechHistoryType = {
id? : number
speech_type: "speech" | "memo"
created_at_unixtime: number
content: string
wav: string
model: string
model_description: string
note_id: number
id? : number;
speech_type: "speech" | "memo";
created_at_unixtime: number;
content: string;
wav: string;
model: string;
model_description: string;
note_id: number;
}
6 changes: 3 additions & 3 deletions src/type/progress.type.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export type ProgressType = {
model_type: string | null,
rate: number,
is_progress: boolean
model_type: string | null;
rate: number;
is_progress: boolean;
}

0 comments on commit bb0a75e

Please sign in to comment.