import { refreshableSettings, createPersistedStore } from '@@/datatables/types'; import { systemResourcesSettings, TableSettings, } from '../../../datatables/DefaultDatatableSettings'; export function createStore(storageKey: string) { return createPersistedStore(storageKey, 'name', (set) => ({ ...refreshableSettings(set), ...systemResourcesSettings(set), })); }