import { Settings } from './models'; export const MAIN_STORE = 'mainStore'; export const LIST_TABLES = 'listTables'; export const FETCH_TABLE_BY_ID = 'fetchTableById'; export const FETCH_REMOTE_TABLE = 'fetchRemoteTable'; export const CREATE_TABLE = 'createTable'; export const DELETE_TABLE_BY_ID = 'deleteTableById'; export const UPLOAD_TABLE = 'uploadTable'; export const SYNC_TABLE_CONTENT = 'syncTableContent'; export const SAVE_TABLE_SETTINGS = 'saveTableSettings'; export const FETCH_TABLE_SETTINGS = 'fetchTableSettings'; export const SAVE_API_KEY = 'saveApiKey'; export const FETCH_API_KEY = 'fetchApiKey'; export const REMOVE_API_KEY = 'removeApiKey'; export const INITIAL_SETTINGS: Settings = { general: { backgroundColor: '', dark: false, dense: false, separator: 'cell', textColor: '', }, bottom: { backgroundColor: '', textColor: '', hidePagination: false, rowsPerPageLabel: 'Records per page', initial: { sortBy: 'desc', descending: false, page: 1, rowsPerPage: 10, }, }, customCss: { cardClass: '', tableClass: '', tableHeaderClass: '', titleClass: '', }, search: { color: '', searchOn: false, filter: '', searchInputStyle: 'standard', }, sorting: { sortingOn: false, binaryStateSort: false, columnSortOrder: 'ad', }, top: { hideHeader: false, hideTitle: false, headerBackgroundColor: '', headerTextColor: '', stickyHeader: false, textColor: '', topBackgroundColor: '', }, virtualScroll: { virtualScrollOn: false, virtualScrollSliceSize: 30, virtualScrollSliceRatioBefore: 1, virtualScrollSliceRatioAfter: 1, virtualScrollStickySizeStart: 0, }, };