@sentio/api 1.0.4-rc.11 → 1.0.4-rc.12

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.
@@ -3101,6 +3101,7 @@ export declare namespace web_service {
3101
3101
  sqlQueryId?: string;
3102
3102
  sqlExecuteEngine?: analytic_service.ExecuteEngine;
3103
3103
  enableExperimentalFeatures?: boolean;
3104
+ overlayGraphs?: Array<OverlayGraph>;
3104
3105
  };
3105
3106
  type ChartDataSourceType = 'METRICS' | 'NOTES' | 'ANALYTICS' | 'INSIGHTS' | 'EVENTS' | 'RETENTION' | 'SQL';
3106
3107
  type ChartConfig = {
@@ -3399,6 +3400,22 @@ export declare namespace web_service {
3399
3400
  type NoteAlignment = 'LEFT' | 'CENTER' | 'RIGHT';
3400
3401
  type NoteFontSize = 'MD' | 'SM' | 'LG' | 'XL' | 'XXL';
3401
3402
  type NoteVerticalAlignment = 'TOP' | 'MIDDLE' | 'BOTTOM';
3403
+ /**
3404
+ * An additional graph overlaid on the primary chart, with its own queries
3405
+ * and Y-axis configuration. Chart type is inherited from the parent chart.
3406
+ */
3407
+ type OverlayGraph = {
3408
+ insightsQueries?: Array<insights_service.QueryRequestQuery>;
3409
+ formulas?: Array<common.Formula>;
3410
+ yAxis?: ChartConfigYAxisConfig;
3411
+ name?: string;
3412
+ lineConfig?: ChartConfigLineConfig;
3413
+ valueConfig?: ChartConfigValueConfig;
3414
+ dataConfig?: ChartConfigDataConfig;
3415
+ sqlQuery?: string;
3416
+ sqlQueryId?: string;
3417
+ sqlExecuteEngine?: analytic_service.ExecuteEngine;
3418
+ };
3402
3419
  type Panel = {
3403
3420
  id?: string;
3404
3421
  name?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/api",
3
- "version": "1.0.4-rc.11",
3
+ "version": "1.0.4-rc.12",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
package/src/types.gen.ts CHANGED
@@ -3115,6 +3115,7 @@ export namespace web_service {
3115
3115
  sqlQueryId?: string;
3116
3116
  sqlExecuteEngine?: analytic_service.ExecuteEngine;
3117
3117
  enableExperimentalFeatures?: boolean;
3118
+ overlayGraphs?: Array<OverlayGraph>;
3118
3119
  };
3119
3120
  export type ChartDataSourceType = 'METRICS' | 'NOTES' | 'ANALYTICS' | 'INSIGHTS' | 'EVENTS' | 'RETENTION' | 'SQL';
3120
3121
  export type ChartConfig = {
@@ -3413,6 +3414,22 @@ export namespace web_service {
3413
3414
  export type NoteAlignment = 'LEFT' | 'CENTER' | 'RIGHT';
3414
3415
  export type NoteFontSize = 'MD' | 'SM' | 'LG' | 'XL' | 'XXL';
3415
3416
  export type NoteVerticalAlignment = 'TOP' | 'MIDDLE' | 'BOTTOM';
3417
+ /**
3418
+ * An additional graph overlaid on the primary chart, with its own queries
3419
+ * and Y-axis configuration. Chart type is inherited from the parent chart.
3420
+ */
3421
+ export type OverlayGraph = {
3422
+ insightsQueries?: Array<insights_service.QueryRequestQuery>;
3423
+ formulas?: Array<common.Formula>;
3424
+ yAxis?: ChartConfigYAxisConfig;
3425
+ name?: string;
3426
+ lineConfig?: ChartConfigLineConfig;
3427
+ valueConfig?: ChartConfigValueConfig;
3428
+ dataConfig?: ChartConfigDataConfig;
3429
+ sqlQuery?: string;
3430
+ sqlQueryId?: string;
3431
+ sqlExecuteEngine?: analytic_service.ExecuteEngine;
3432
+ };
3416
3433
  export type Panel = {
3417
3434
  id?: string;
3418
3435
  name?: string;