Explorar el Código

:fire: copy_channel

visuddhinanda hace 2 años
padre
commit
3c4ff62820
Se han modificado 1 ficheros con 7 adiciones y 2 borrados
  1. 7 2
      dashboard/src/components/api/Term.ts

+ 7 - 2
dashboard/src/components/api/Term.ts

@@ -10,11 +10,15 @@ export interface ITermDataRequest {
   meaning: string;
   meaning: string;
   other_meaning?: string;
   other_meaning?: string;
   note?: string;
   note?: string;
-  channal?: string;
+  channel?: string;
   studioName?: string;
   studioName?: string;
   studioId?: string;
   studioId?: string;
   language?: string;
   language?: string;
-  copy?: string;
+  parent_channel_id?: string;
+  save_as?: boolean;
+  copy_channel?: string;
+  copy_lang?: string;
+  pr?: boolean;
 }
 }
 export interface ITermDataResponse {
 export interface ITermDataResponse {
   id: number;
   id: number;
@@ -32,6 +36,7 @@ export interface ITermDataResponse {
   role?: TRole;
   role?: TRole;
   exp?: number;
   exp?: number;
   language: string;
   language: string;
+  community?: boolean;
   created_at: string;
   created_at: string;
   updated_at: string;
   updated_at: string;
 }
 }