import {AdaptableOptions} from '@adaptabletools/adaptable';
import {WebFramework} from './rowData';
export const adaptableOptions: AdaptableOptions<WebFramework> = {
primaryKey: 'id',
adaptableId: 'JSON Report Format',
initialState: {
Dashboard: {
Tabs: [
{
Name: 'Demo',
Toolbars: ['Export'],
},
],
ModuleButtons: ['Export', 'SettingsPanel'],
},
StatusBar: {
StatusBars: [
{
Key: 'Center Panel',
StatusBarPanels: ['Export'],
},
],
},
Theme: {CurrentTheme: 'dark'},
Export: {
CurrentFormat: 'JSON',
},
Layout: {
CurrentLayout: 'Standard Layout',
Layouts: [
{
TableColumns: [
'name',
'language',
'github_stars',
'license',
'has_projects',
'has_pages',
'created_at',
'has_wiki',
'updated_at',
'pushed_at',
'github_watchers',
'week_issue_change',
],
Name: 'Standard Layout',
AutoSizeColumns: true,
},
],
},
},
};