Browse Source

add content_created_at

visuddhinanda 2 years ago
parent
commit
15a7bebcdd

+ 2 - 0
dashboard/src/components/api/Channel.ts

@@ -36,6 +36,8 @@ export interface IApiResponseChannelData {
   updated_at: string;
   updated_at: string;
   role?: TRole;
   role?: TRole;
   final?: IFinal[];
   final?: IFinal[];
+  content_created_at: string;
+  content_updated_at: string;
 }
 }
 export interface IApiResponseChannel {
 export interface IApiResponseChannel {
   ok: boolean;
   ok: boolean;

+ 2 - 0
dashboard/src/components/channel/ChannelPickerTable.tsx

@@ -43,6 +43,8 @@ export interface IItem {
   final?: IFinal[];
   final?: IFinal[];
   progress: number;
   progress: number;
   createdAt: number;
   createdAt: number;
+  content_created_at?: string;
+  content_updated_at?: string;
 }
 }
 interface IWidget {
 interface IWidget {
   type?: ArticleType | "editable";
   type?: ArticleType | "editable";