|
|
@@ -1,35 +1,35 @@
|
|
|
import { IStudioApiResponse } from "./Auth";
|
|
|
|
|
|
export type ChannelInfoProps = {
|
|
|
- ChannelName: string;
|
|
|
- ChannelId: string;
|
|
|
- ChannelType: string;
|
|
|
- StudioName: string;
|
|
|
- StudioId: string;
|
|
|
- StudioType: string;
|
|
|
+ channelName: string;
|
|
|
+ channelId: string;
|
|
|
+ channelType: string;
|
|
|
+ studioName: string;
|
|
|
+ studioId: string;
|
|
|
+ studioType: string;
|
|
|
};
|
|
|
|
|
|
export interface IApiResponseChannelData {
|
|
|
- uid: string;
|
|
|
- name: string;
|
|
|
- summary: string;
|
|
|
- type: string;
|
|
|
- studio: IStudioApiResponse;
|
|
|
- lang: string;
|
|
|
- status: number;
|
|
|
- created_at: string;
|
|
|
- updated_at: string;
|
|
|
+ uid: string;
|
|
|
+ name: string;
|
|
|
+ summary: string;
|
|
|
+ type: string;
|
|
|
+ studio: IStudioApiResponse;
|
|
|
+ lang: string;
|
|
|
+ status: number;
|
|
|
+ created_at: string;
|
|
|
+ updated_at: string;
|
|
|
}
|
|
|
export interface IApiResponseChannel {
|
|
|
- ok: boolean;
|
|
|
- message: string;
|
|
|
- data: IApiResponseChannelData;
|
|
|
+ ok: boolean;
|
|
|
+ message: string;
|
|
|
+ data: IApiResponseChannelData;
|
|
|
}
|
|
|
export interface IApiResponseChannelList {
|
|
|
- ok: boolean;
|
|
|
- message: string;
|
|
|
- data: {
|
|
|
- rows: IApiResponseChannelData[];
|
|
|
- count: number;
|
|
|
- };
|
|
|
+ ok: boolean;
|
|
|
+ message: string;
|
|
|
+ data: {
|
|
|
+ rows: IApiResponseChannelData[];
|
|
|
+ count: number;
|
|
|
+ };
|
|
|
}
|