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
// eslint-disable-next-line metabase/no-external-references-for-sdk-package-code
import { EMBEDDING_SDK_CONFIG } from "metabase/embedding-sdk/config";
// eslint-disable-next-line metabase/no-external-references-for-sdk-package-code
import { defineBuildInfo } from "metabase/embedding-sdk/lib/define-build-info";
// eslint-disable-next-line metabase/no-external-references-for-sdk-package-code
import { defineGlobalDependencies } from "metabase/embedding-sdk/lib/define-global-dependencies";
// Enable SDK mode as we are in the SDK package
EMBEDDING_SDK_CONFIG.isEmbeddingSdk = true;
defineBuildInfo("METABASE_EMBEDDING_SDK_PACKAGE_BUILD_INFO");
defineGlobalDependencies();
export { CollectionBrowser } from "./components/public/CollectionBrowser";
export { CreateQuestion } from "./components/public/CreateQuestion";
export { CreateDashboardModal } from "./components/public/CreateDashboardModal";
export { EditableDashboard } from "./components/public/dashboard/EditableDashboard";
export { InteractiveDashboard } from "./components/public/dashboard/InteractiveDashboard";
export { StaticDashboard } from "./components/public/dashboard/StaticDashboard";
export { InteractiveQuestion } from "./components/public/InteractiveQuestion";
export { StaticQuestion } from "./components/public/StaticQuestion";
export { MetabaseProvider } from "./components/public/MetabaseProvider";
export { MetabotQuestion } from "./components/public/MetabotQuestion";
export * from "./components/public/debug/SdkDebugInfo";
export { useApplicationName } from "./hooks/public/use-application-name";
export { useAvailableFonts } from "./hooks/public/use-available-fonts";
export { useCurrentUser } from "./hooks/public/use-current-user";
export { useMetabot } from "./hooks/public/use-metabot";
export { useCreateDashboardApi } from "./hooks/public/use-create-dashboard-api";
export { useMetabaseAuthStatus } from "./hooks/public/use-metabase-auth-status";
export { useAction } from "./hooks/public/use-action";
export type {
ActionExecuteError,
ActionKind,
ActionResultForCreate,
ActionResultForDelete,
ActionResultForKind,
ActionResultForSql,
ActionResultForUpdate,
AnyActionResult,
UseActionResult,
} from "./hooks/public/use-action";
export { defineMetabaseAuthConfig } from "./lib/public/define-metabase-auth-config";
export { defineMetabaseTheme } from "./lib/public/define-metabase-theme";
export {
DataAppRouter,
type DataAppRouterProps,
} from "./components/public/DataAppRouter";
export {
DataAppLink,
type DataAppLinkProps,
} from "./components/public/DataAppLink";
export {
useDataAppLocation,
type UseDataAppLocationResult,
} from "./hooks/public/use-data-app-location";
export {
type CollectionBrowserProps,
type CollectionBrowserListColumns,
} from "embedding-sdk-bundle/components/public/CollectionBrowser";
export { type CreateDashboardModalProps } from "embedding-sdk-bundle/components/public/CreateDashboardModal";
export { type CreateQuestionProps } from "embedding-sdk-bundle/components/public/CreateQuestion";
export type {
StaticDashboardProps,
InteractiveDashboardProps,
EditableDashboardProps,
} from "embedding-sdk-bundle/components/public/dashboard";
export {
type SdkQuestionProps,
type InteractiveQuestionBackButtonProps,
type InteractiveQuestionBreakoutDropdownProps,
type InteractiveQuestionChartTypeDropdownProps,
type InteractiveQuestionChartTypeSelectorProps,
type InteractiveQuestionDownloadWidgetProps,
type InteractiveQuestionDownloadWidgetDropdownProps,
type InteractiveQuestionEditorProps,
type InteractiveQuestionEditorButtonProps,
type InteractiveQuestionFilterProps,
type InteractiveQuestionFilterDropdownProps,
type InteractiveQuestionQuestionSettingsProps,
type InteractiveQuestionQuestionSettingsDropdownProps,
type InteractiveQuestionQuestionVisualizationProps,
type InteractiveQuestionRefreshButtonProps,
type InteractiveQuestionResetButtonProps,
type InteractiveQuestionSaveButtonProps,
type InteractiveQuestionSaveQuestionFormProps,
type InteractiveQuestionSummarizeDropdownProps,
type InteractiveQuestionTitleProps,
type DrillThroughQuestionProps,
} from "embedding-sdk-bundle/components/public/SdkQuestion";
export {
type InteractiveQuestionComponents,
type InteractiveQuestionProps,
} from "embedding-sdk-bundle/components/public/InteractiveQuestion";
export { type MetabotQuestionProps } from "embedding-sdk-bundle/components/public/MetabotQuestion";
export {
type StaticQuestionProps,
type StaticQuestionComponents,
} from "embedding-sdk-bundle/components/public/StaticQuestion";
export { type MetabaseProviderProps } from "embedding-sdk-bundle/types/metabase-provider";
export type { DashCardMenuItem } from "metabase/embedding-sdk/types/plugins";
export type {
CustomDashboardCardMenuItem,
DashboardCardCustomMenuItem,
DashboardCardMenuCustomElement,
DashboardCardMenu,
} from "metabase/dashboard/components/DashCard/DashCardMenu/dashcard-menu";
export type {
ButtonProps,
ChartColor,
ChartColorV2,
CreateDashboardValues,
EntityTypeFilterKeys,
InitializationStatus,
LoginStatus,
MetabaseAuthConfig,
MetabaseAuthConfigWithApiKey,
MetabaseAuthConfigWithJwt,
MetabaseAuthConfigWithSaml,
MetabaseIsGuestAuthConfig,
MetabaseClickActionPluginsConfig,
MetabaseColorKey,
MetabaseColors,
MetabaseClickAction,
MetabaseComponentTheme,
MetabaseCollection,
MetabaseCollectionItem,
MetabaseDataPointObject,
MetabaseQueryObject,
MetabaseDashboard,
MetabaseDashboardPluginsConfig,
MetabaseEmbeddingColorKeyV2,
MetabaseEmbeddingTheme,
MetabaseEmbeddingThemeV2,
MetabaseFontFamily,
MetabaseGlobalPluginsConfig,
ProtectedColorKey,
MetabaseCard,
MetabasePluginsConfig,
MetabaseQuestion,
MetabaseTheme,
MetabaseThemePreset,
MetabaseUser,
MetabotAgentChartMessage,
MetabotAgentMessage,
MetabotAgentTextMessage,
MetabotChartProps,
MetabotErrorMessage,
MetabotIncompleteResponse,
MetabotMessage,
MetabotUserTextMessage,
NavigatedEntityParameterChangePayload,
NavigatedEntityParameters,
NavigationId,
ParameterChangeSource,
ParameterChangePayload,
UseMetabotResult,
SdkEntityToken,
SdkBrowserCollectionId,
SdkCollectionId,
SdkDashboardId,
SdkDashboardEntityPublicProps,
SdkDashboardLoadEvent,
SdkEntityId,
SdkErrorComponent,
SdkErrorComponentProps,
SdkEventHandlersConfig,
SdkQuestionId,
SdkQuestionEntityPublicProps,
SdkQuestionTitleProps,
SqlParameterChangeSource,
SqlParameterChangePayload,
SdkUserId,
SqlParameterValues,
SdkActionId,
SdkActionDefinition,
SdkActionInput,
SdkLegacyActionDefinition,
} from "embedding-sdk-bundle/types";
export type {
FieldSchema,
QueryData,
RowValue,
SchemaColumn,
SchemaJavaScriptType,
SchemaRow,
} from "./hooks/public/data-schema";
export type { QueryQuestionResult } from "embedding-sdk-bundle/lib/query-question";
export type {
EmbeddingEntityType,
EmbeddingDataPicker,
} from "metabase/redux/store/embedding-data-picker";
export type { ParameterValues } from "metabase/embedding-sdk/types/dashboard";
export type { IconName } from "metabase/embedding-sdk/types/icon";
export type {
UserBackendJwtResponse,
MetabaseFetchRequestTokenFn,
} from "metabase/embedding-sdk/types/refresh-token";