{"size": 800, "ext": "js", "max_stars_repo_path": "apps/edf/ttk-edf-app-company-manage/extend.js", "max_stars_repo_name": "thethreekingdoms/ttk-app-core", "max_stars_repo_stars_event_min_datetime": "2018-04-11T03:29:00.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-11T11:07:43.000Z", "max_issues_repo_path": "apps/edf/ttk-edf-app-company-manage/apps/ttk-edf-app-company-manage-add/extend.js", "max_issues_repo_name": "thethreekingdoms/ttk-app-core", "max_issues_repo_issues_event_min_datetime": "2018-07-13T09:15:15.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-13T14:36:33.000Z", "max_forks_repo_path": "apps/edf/ttk-edf-app-company-manage/extend.js", "max_forks_repo_name": "thethreekingdoms/ttk-app-core", "max_forks_repo_forks_event_min_datetime": "2018-03-20T06:21:31.000Z", "max_forks_repo_forks_event_max_datetime": "2020-05-08T11:04:44.000Z"}
{"max_stars_count": 51, "max_issues_count": 7, "max_forks_count": 11, "avg_line_length": 22.2222222222, "max_line_length": 88, "alphanum_fraction": 0.54625}
import {GridDecorator} from 'edf-component'

function getGridOption() {
    return {
        'details': {
            path: 'data.list',
            //selectFieldName: 'selected',
            cellClassName: 'app-archives-list-cell',
            emptyRow: {},
            getColNames: (gf) => {
                return []
            },
            cellIsReadonly: (cellPosition, path, gf) => {
                return false
            }
        },
    }
}

function actionCreator(option) {
    return {
        gridAction: new GridDecorator.action({...option, gridOption: getGridOption()})
    }
}

function reducerCreator(option) {
    return {
        gridReducer: new GridDecorator.reducer({...option, gridOption: getGridOption()})
    }
}

export default {
    actionCreator,
    reducerCreator
}
