drizzle-cube 0.1.21 → 0.1.23

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 (28) hide show
  1. package/dist/adapters/{compiler-CPsEzFP2.js → compiler-CSr2Ti96.js} +553 -505
  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 +50 -50
  6. package/dist/client/charts.js +1 -1
  7. package/dist/client/chunks/{charts-BadAUMmd.js → charts-8KmxUVvG.js} +2 -2
  8. package/dist/client/chunks/{charts-BadAUMmd.js.map → charts-8KmxUVvG.js.map} +1 -1
  9. package/dist/client/chunks/{icons-B5RVM-7b.js → icons-QczkAx61.js} +46 -41
  10. package/dist/client/chunks/{icons-B5RVM-7b.js.map → icons-QczkAx61.js.map} +1 -1
  11. package/dist/client/chunks/{providers-DI5zeeEU.js → providers-B7MVnAAt.js} +50 -50
  12. package/dist/client/chunks/providers-B7MVnAAt.js.map +1 -0
  13. package/dist/client/components/charts/ActivityGridChart.config.d.ts +5 -0
  14. package/dist/client/components/charts/ActivityGridChart.d.ts +2 -0
  15. package/dist/client/components/charts/index.d.ts +1 -0
  16. package/dist/client/components.js +2875 -2351
  17. package/dist/client/components.js.map +1 -1
  18. package/dist/client/hooks/useCubeMeta.d.ts +1 -0
  19. package/dist/client/hooks.js +62 -60
  20. package/dist/client/hooks.js.map +1 -1
  21. package/dist/client/index.js +2 -2
  22. package/dist/client/providers.js +1 -1
  23. package/dist/client/types.d.ts +6 -2
  24. package/dist/client-bundle-stats.html +1 -1
  25. package/dist/server/index.d.ts +3 -8
  26. package/dist/server/index.js +748 -700
  27. package/package.json +22 -1
  28. package/dist/client/chunks/providers-DI5zeeEU.js.map +0 -1
@@ -183,13 +183,13 @@ declare interface DatabaseAdapter {
183
183
  */
184
184
  buildTimeDimension(granularity: TimeGranularity, fieldExpr: AnyColumn | SQL): SQL;
185
185
  /**
186
- * Build case-insensitive string matching condition
186
+ * Build string matching condition
187
187
  * @param fieldExpr - The field to search in
188
188
  * @param operator - The string matching operator
189
189
  * @param value - The value to match
190
190
  * @returns SQL expression for string matching
191
191
  */
192
- buildStringCondition(fieldExpr: AnyColumn | SQL, operator: 'contains' | 'notContains' | 'startsWith' | 'endsWith', value: string): SQL;
192
+ buildStringCondition(fieldExpr: AnyColumn | SQL, operator: 'contains' | 'notContains' | 'startsWith' | 'endsWith' | 'like' | 'notLike' | 'ilike' | 'regex' | 'notRegex', value: string): SQL;
193
193
  /**
194
194
  * Cast expression to specific database type
195
195
  * @param fieldExpr - The field expression to cast
@@ -363,18 +363,13 @@ export declare interface FilterCondition {
363
363
  /**
364
364
  * Supported filter operators
365
365
  */
366
- export declare type FilterOperator = 'equals' | 'notEquals' | 'contains' | 'notContains' | 'startsWith' | 'notStartsWith' | 'endsWith' | 'notEndsWith' | 'gt' | 'gte' | 'lt' | 'lte' | 'set' | 'notSet' | 'inDateRange' | 'beforeDate' | 'afterDate';
366
+ export declare type FilterOperator = 'equals' | 'notEquals' | 'contains' | 'notContains' | 'startsWith' | 'notStartsWith' | 'endsWith' | 'notEndsWith' | 'gt' | 'gte' | 'lt' | 'lte' | 'set' | 'notSet' | 'inDateRange' | 'beforeDate' | 'afterDate' | 'between' | 'notBetween' | 'in' | 'notIn' | 'like' | 'notLike' | 'ilike' | 'regex' | 'notRegex' | 'isEmpty' | 'isNotEmpty';
367
367
 
368
368
  /**
369
369
  * Derive SQL join type from semantic relationship
370
370
  */
371
371
  export declare function getJoinType(relationship: string, override?: string): string;
372
372
 
373
- /**
374
- * Type guard to check if value is a function-based SQL expression
375
- */
376
- export declare function isFunctionSqlExpression(expr: SqlExpression): expr is (ctx: QueryContext) => AnyColumn | SQL;
377
-
378
373
  export declare type JoinType = 'left' | 'right' | 'inner' | 'full';
379
374
 
380
375
  export declare interface LogicalFilter {