/*
 * @Author: your name
 * @Date: 2021-09-14 11:16:08
 * @LastEditTime: 2021-09-14 17:43:42
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /MedicalWisdomCheckSys/src/components/MccsTable/typings.d.ts
 */



declare namespace MccsTable {

    type GithubIssueItem = {
        url: string;
        id: number;
        number: number;
        title: string;
        labels: {
          name: string;
          color: string;
        }[];
        state: string;
        comments: number;
        created_at: string;
        updated_at: string;
        closed_at?: string;
    };

    type Columns = {
        title?: string,
        key?: string,
        [propsName: string]: any
    }

    type MccsTable = {
        columns: MccsTable.Columns[],
        [propsName: string]: any
    }
    type MccsTableRef = {
        getFormRef: () => any,
        getTableRef: () => any
    }|undefined
}