drizzle-cube 0.1.25 → 0.1.28

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 (37) 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/chartConfigs.d.ts +2 -0
  8. package/dist/client/charts.js +1 -1
  9. package/dist/client/chunks/{charts-Dx3asDBi.js → charts-Dm25kuUn.js} +617 -634
  10. package/dist/client/chunks/charts-Dm25kuUn.js.map +1 -0
  11. package/dist/client/chunks/{icons-BMGOKdZb.js → icons-B_0yoGjv.js} +627 -571
  12. package/dist/client/chunks/icons-B_0yoGjv.js.map +1 -0
  13. package/dist/client/chunks/providers-B7MVnAAt.js.map +1 -1
  14. package/dist/client/components/AxisDropZone.d.ts +8 -2
  15. package/dist/client/components/CubeRelationshipDiagram/CubeNode.d.ts +13 -0
  16. package/dist/client/components/CubeRelationshipDiagram/ERDControls.d.ts +7 -0
  17. package/dist/client/components/CubeRelationshipDiagram/RelationshipEdge.d.ts +11 -0
  18. package/dist/client/components/CubeRelationshipDiagram/index.d.ts +10 -0
  19. package/dist/client/components/CubeRelationshipDiagram/useERDLayout.d.ts +21 -0
  20. package/dist/client/components/QueryBuilder/types.d.ts +4 -0
  21. package/dist/client/components/charts/KpiDelta.config.d.ts +5 -0
  22. package/dist/client/components/charts/KpiDelta.d.ts +2 -0
  23. package/dist/client/components/charts/MarkdownChart.config.d.ts +5 -0
  24. package/dist/client/components/charts/MarkdownChart.d.ts +2 -0
  25. package/dist/client/components/charts/index.d.ts +2 -0
  26. package/dist/client/components.js +17304 -6706
  27. package/dist/client/components.js.map +1 -1
  28. package/dist/client/hooks/useCubeMeta.d.ts +9 -0
  29. package/dist/client/index.js +1 -1
  30. package/dist/client/styles.css +1 -1
  31. package/dist/client/types.d.ts +10 -2
  32. package/dist/client-bundle-stats.html +1 -1
  33. package/dist/server/index.d.ts +27 -9
  34. package/dist/server/index.js +1002 -942
  35. package/package.json +5 -2
  36. package/dist/client/chunks/charts-Dx3asDBi.js.map +0 -1
  37. package/dist/client/chunks/icons-BMGOKdZb.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
  */
@@ -73,6 +73,8 @@ export interface ChartTypeConfig {
73
73
  description?: string;
74
74
  /** When to use this chart type */
75
75
  useCase?: string;
76
+ /** Whether this chart type skips query requirements (for content-based charts like markdown) */
77
+ skipQuery?: boolean;
76
78
  }
77
79
  /**
78
80
  * Registry of all chart type configurations
@@ -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-Dx3asDBi.js";
1
+ import { r as t, C as s, D as h, N as R, z 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-Dm25kuUn.js";
2
2
  export {
3
3
  t as CHART_COLORS,
4
4
  s as CHART_MARGINS,