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 {
EntityPickerOptions,
EntityPickerProps,
} from "metabase/common/components/Pickers";
import type { RecentContexts } from "metabase-types/api";
export const RECENTS_CONTEXT: RecentContexts[] = ["selections"];
export const ENTITY_PICKER_OPTIONS = {
hasDatabases: true,
hasDataApps: true,
hasConfirmButtons: false,
hasRecents: true,
} satisfies EntityPickerOptions;
export const QUESTION_PICKER_OPTIONS: EntityPickerOptions = {
hasRootCollection: true,
hasPersonalCollections: true,
};
export const DASHBOARD_PICKER_OPTIONS: EntityPickerOptions = {
hasRootCollection: true,
hasPersonalCollections: true,
};
export const ENTRY_PICKER_MODELS: EntityPickerProps["models"] = [
"table",
"card",
"dataset",
"metric",
"dashboard",
"transform",
"snippet",
"action",
"data-app",
];