Browse Source

add IDictlDataRequest

visuddhinanda 3 years ago
parent
commit
570b83bd13
1 changed files with 15 additions and 0 deletions
  1. 15 0
      dashboard/src/components/api/Dict.ts

+ 15 - 0
dashboard/src/components/api/Dict.ts

@@ -1,3 +1,16 @@
+export interface IDictlDataRequest {
+	id: number;
+	word: string;
+	type: string;
+	grammar: string;
+	mean: string;
+	parent: string;
+	note: string;
+	factors: string;
+	factormean: string;
+	language: string;
+	confidence: number;
+}
 export interface IApiResponseDictlData {
 	id: number;
 	word: string;
@@ -7,6 +20,8 @@ export interface IApiResponseDictlData {
 	parent: string;
 	note: string;
 	factors: string;
+	factormean: string;
+	language: string;
 	confidence: number;
 	creator_id: number;
 	updated_at: string;