The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
import type { SettingsState } from "metabase/redux/store";
import type { EnterpriseSettings, Settings } from "metabase-types/api";
import { createMockSettings } from "metabase-types/api/mocks";
export const createMockSettingsState = (
opts?: Partial<Settings> | Partial<EnterpriseSettings>,
): SettingsState => ({
values: createMockSettings(opts),
loading: false,
});