drizzle-cube 0.1.40 → 0.1.42
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.
- package/dist/adapters/{compiler-BNrqoxJZ.js → compiler-B57cLx38.js} +1152 -1118
- package/dist/adapters/express/index.js +1 -1
- package/dist/adapters/fastify/index.js +1 -1
- package/dist/adapters/hono/index.js +1 -1
- package/dist/adapters/nextjs/index.js +1 -1
- package/dist/client/chunks/{components-D6NT6kRL.js → components-DzCsplX7.js} +5752 -5618
- package/dist/client/chunks/components-DzCsplX7.js.map +1 -0
- package/dist/client/components.js +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/types.d.ts +2 -0
- package/dist/client-bundle-stats.html +1 -1
- package/dist/server/index.d.ts +6 -2
- package/dist/server/index.js +858 -824
- package/package.json +1 -1
- package/dist/client/chunks/components-D6NT6kRL.js.map +0 -1
package/dist/server/index.d.ts
CHANGED
|
@@ -408,6 +408,7 @@ export declare interface FilterCondition {
|
|
|
408
408
|
member: string;
|
|
409
409
|
operator: FilterOperator;
|
|
410
410
|
values: any[];
|
|
411
|
+
dateRange?: string | string[];
|
|
411
412
|
}
|
|
412
413
|
|
|
413
414
|
/**
|
|
@@ -450,8 +451,11 @@ declare interface Measure {
|
|
|
450
451
|
title?: string;
|
|
451
452
|
description?: string;
|
|
452
453
|
type: MeasureType;
|
|
453
|
-
/**
|
|
454
|
-
|
|
454
|
+
/**
|
|
455
|
+
* Column to aggregate or SQL expression
|
|
456
|
+
* Optional for calculated measures (type: 'calculated') which use calculatedSql instead
|
|
457
|
+
*/
|
|
458
|
+
sql?: AnyColumn | SQL | ((ctx: QueryContext) => AnyColumn | SQL);
|
|
455
459
|
/** Display format */
|
|
456
460
|
format?: string;
|
|
457
461
|
/** Whether to show in UI */
|