Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

404 B
Raw Blame
type MetabaseQueryObject =
  | {
  database?: unknown;
  parameters?: unknown;
  query?: unknown;
  type: "query";
}
  | {
  database?: unknown;
  native?: unknown;
  parameters?: unknown;
  type: "native";
}
  | {
  database?: unknown;
  lib/type: "mbql/query";
  parameters?: unknown;
  stages?: unknown;
};

Public structural type for ad-hoc SDK queries created by useMetabaseQueryObject.