Skip to content
Snippets Groups Projects
Unverified Commit 2cb377fc authored by Alexander Polyankin's avatar Alexander Polyankin Committed by GitHub
Browse files

Fix cljs compilation (#25876)

parent 490925b1
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ import { FieldDimension } from "../Dimension";
import Base from "./Base";
import type Table from "./Table";
import type Metadata from "./Metadata";
import { getUniqueFieldId } from "./utils";
import { getUniqueFieldId } from "./utils/fields";
export const LONG_TEXT_MIN = 80;
......
......@@ -8,7 +8,7 @@ import type Database from "./Database";
import type Table from "./Table";
import type Schema from "./Schema";
import type Field from "./Field";
import { getUniqueFieldId } from "./utils";
import { getUniqueFieldId } from "./utils/fields";
/**
* @typedef { import("./metadata").DatabaseId } DatabaseId
......
import { isVirtualCardId } from "metabase/lib/saved-questions/saved-questions";
import type Field from "./Field";
import type Field from "../Field";
export function getUniqueFieldId(field: Field): number | string {
const { table_id } = field;
......
import { getUniqueFieldId } from "./utils";
import { createMockConcreteField, createMockVirtualField } from "./mocks";
import { createMockConcreteField, createMockVirtualField } from "../mocks";
import { getUniqueFieldId } from "./fields";
const structuredVirtualCardField = createMockConcreteField({
apiOpts: {
......
......@@ -11,7 +11,7 @@ import { format as formatExpression } from "metabase/lib/expressions/format";
import * as AGGREGATION from "./aggregation";
import * as QUERY from "./query";
import * as FIELD_REF from "./field-ref";
import { FilterClause, MetricClause } from "./description.styled";
import { FilterClause, MetricClause } from "./description.styled.tsx";
// NOTE: This doesn't support every MBQL clause, e.x. joins. It should also be moved to StructuredQuery.
......
......@@ -3,7 +3,7 @@
import { schema } from "normalizr";
import { generateSchemaId, entityTypeForObject } from "metabase/lib/schema";
import { SAVED_QUESTIONS_VIRTUAL_DB_ID } from "metabase/lib/saved-questions";
import { getUniqueFieldId } from "metabase-lib/lib/metadata/utils";
import { getUniqueFieldId } from "metabase-lib/lib/metadata/utils/fields";
export const QuestionSchema = new schema.Entity("questions");
export const BookmarkSchema = new schema.Entity("bookmarks");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment