Skip to content

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

312 B
Raw Blame
import * as ML from "cljs/metabase.lib.js";

export interface DisplayNamePart {
  type: "static" | "translatable";
  value: string;
}

export function parseColumnDisplayNameParts(
  displayName: string,
  locale: string,
): DisplayNamePart[] {
  return ML.parse_column_display_name_parts(displayName, locale);
}