drizzle-cube 0.1.26 → 0.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/adapters/{compiler-CSr2Ti96.js → compiler-BibS3bXd.js} +980 -920
  2. package/dist/adapters/express/index.js +1 -1
  3. package/dist/adapters/fastify/index.js +1 -1
  4. package/dist/adapters/hono/index.js +1 -1
  5. package/dist/adapters/nextjs/index.js +1 -1
  6. package/dist/adapters/utils.d.ts +1 -1
  7. package/dist/client/charts.js +1 -1
  8. package/dist/client/chunks/{charts-JUvTF2xT.js → charts-BM1k01Jw.js} +1067 -911
  9. package/dist/client/chunks/charts-BM1k01Jw.js.map +1 -0
  10. package/dist/client/chunks/{icons-ChgBIaCg.js → icons-B_0yoGjv.js} +398 -352
  11. package/dist/client/chunks/icons-B_0yoGjv.js.map +1 -0
  12. package/dist/client/chunks/providers-B7MVnAAt.js.map +1 -1
  13. package/dist/client/components/CubeRelationshipDiagram/CubeNode.d.ts +13 -0
  14. package/dist/client/components/CubeRelationshipDiagram/ERDControls.d.ts +7 -0
  15. package/dist/client/components/CubeRelationshipDiagram/RelationshipEdge.d.ts +11 -0
  16. package/dist/client/components/CubeRelationshipDiagram/index.d.ts +10 -0
  17. package/dist/client/components/CubeRelationshipDiagram/useERDLayout.d.ts +21 -0
  18. package/dist/client/components/DataHistogram.d.ts +3 -1
  19. package/dist/client/components/QueryBuilder/types.d.ts +4 -0
  20. package/dist/client/components.js +14910 -4905
  21. package/dist/client/components.js.map +1 -1
  22. package/dist/client/hooks/useCubeMeta.d.ts +9 -0
  23. package/dist/client/index.js +1 -1
  24. package/dist/client/styles.css +1 -1
  25. package/dist/client/types.d.ts +3 -1
  26. package/dist/client/utils/targetUtils.d.ts +36 -0
  27. package/dist/client-bundle-stats.html +1 -1
  28. package/dist/server/index.d.ts +27 -9
  29. package/dist/server/index.js +1002 -942
  30. package/package.json +5 -2
  31. package/dist/client/chunks/charts-JUvTF2xT.js.map +0 -1
  32. package/dist/client/chunks/icons-ChgBIaCg.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import Q, { Router as E } from "express";
2
2
  import R from "cors";
3
- import { S as $, c as a, f as v, a as L, b as x, h } from "../compiler-CSr2Ti96.js";
3
+ import { S as $, c as a, f as v, a as L, b as x, h } from "../compiler-BibS3bXd.js";
4
4
  function N(l) {
5
5
  const {
6
6
  cubes: c,
@@ -1,4 +1,4 @@
1
- import { S as P, c as u, f as v, a as L, b as Q, h as C } from "../compiler-CSr2Ti96.js";
1
+ import { S as P, c as u, f as v, a as L, b as Q, h as C } from "../compiler-BibS3bXd.js";
2
2
  const w = function(o, x, q) {
3
3
  const {
4
4
  cubes: b,
@@ -1,5 +1,5 @@
1
1
  import { Hono as x } from "hono";
2
- import { S as v, f as h, a as A, b as w, h as C } from "../compiler-CSr2Ti96.js";
2
+ import { S as v, f as h, a as A, b as w, h as C } from "../compiler-BibS3bXd.js";
3
3
  var b = (d) => {
4
4
  const l = {
5
5
  ...{
@@ -1,5 +1,5 @@
1
1
  import { NextResponse as o } from "next/server";
2
- import { c as l, f as N, a as S, b as p, h as v, S as C } from "../compiler-CSr2Ti96.js";
2
+ import { c as l, f as N, a as S, b as p, h as v, S as C } from "../compiler-BibS3bXd.js";
3
3
  function g(t) {
4
4
  const { cubes: e, drizzle: a, schema: s, engineType: f } = t;
5
5
  if (!e || e.length === 0)
@@ -96,7 +96,7 @@ export declare function formatCubeResponse(query: SemanticQuery, result: {
96
96
  /**
97
97
  * Format SQL string using sql-formatter with appropriate dialect
98
98
  */
99
- export declare function formatSqlString(sqlString: string, engineType: 'postgres' | 'mysql' | 'sqlite'): string;
99
+ export declare function formatSqlString(sqlString: string, engineType: 'postgres' | 'mysql' | 'sqlite' | 'singlestore'): string;
100
100
  /**
101
101
  * Format SQL generation response
102
102
  */
@@ -1,4 +1,4 @@
1
- import { k as t, C as s, D as h, N as R, u as e, A as C, B as c, L as O, P as T, R as A, a as L, S, T as I, f as _ } from "./chunks/charts-JUvTF2xT.js";
1
+ import { r as t, C as s, D as h, N as R, G as e, A as C, B as c, L as O, P as T, R as A, a as L, S, T as I, f as _ } from "./chunks/charts-BM1k01Jw.js";
2
2
  export {
3
3
  t as CHART_COLORS,
4
4
  s as CHART_MARGINS,