@sentio/api 1.0.5-rc.5 → 1.0.5-rc.6

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.
@@ -3055,8 +3055,9 @@ export declare namespace web_service {
3055
3055
  sqlExecuteEngine?: analytic_service.ExecuteEngine;
3056
3056
  enableExperimentalFeatures?: boolean;
3057
3057
  overlayGraphs?: Array<OverlayGraph>;
3058
+ group?: Group;
3058
3059
  };
3059
- type ChartDataSourceType = 'METRICS' | 'NOTES' | 'ANALYTICS' | 'INSIGHTS' | 'EVENTS' | 'RETENTION' | 'SQL';
3060
+ type ChartDataSourceType = 'METRICS' | 'NOTES' | 'ANALYTICS' | 'INSIGHTS' | 'EVENTS' | 'RETENTION' | 'SQL' | 'GROUP';
3060
3061
  type ChartConfig = {
3061
3062
  yAxis?: ChartConfigYAxisConfig;
3062
3063
  barGauge?: ChartConfigBarGaugeConfig;
@@ -3214,7 +3215,7 @@ export declare namespace web_service {
3214
3215
  column?: string;
3215
3216
  name?: string;
3216
3217
  };
3217
- type ChartType2 = 'LINE' | 'AREA' | 'BAR' | 'BAR_GAUGE' | 'TABLE' | 'QUERY_VALUE' | 'PIE' | 'NOTE' | 'SCATTER';
3218
+ type ChartType2 = 'LINE' | 'AREA' | 'BAR' | 'BAR_GAUGE' | 'TABLE' | 'QUERY_VALUE' | 'PIE' | 'NOTE' | 'SCATTER' | 'GROUP';
3218
3219
  type Dashboard = {
3219
3220
  id?: string;
3220
3221
  name?: string;
@@ -3318,6 +3319,15 @@ export declare namespace web_service {
3318
3319
  dashboards?: Array<Dashboard>;
3319
3320
  permissions?: Array<common.Permission>;
3320
3321
  };
3322
+ /**
3323
+ * Configuration for a GROUP-typed Panel — a collapsible container that holds
3324
+ * other panels referencing it via Panel.group_id. Groups cannot nest.
3325
+ */
3326
+ type Group = {
3327
+ title?: string;
3328
+ collapsed?: boolean;
3329
+ childLayouts?: DashboardResponsiveLayouts;
3330
+ };
3321
3331
  type ImportDashboardRequest = {
3322
3332
  /**
3323
3333
  * The id of the target dashboard to import into.
@@ -3370,6 +3380,11 @@ export declare namespace web_service {
3370
3380
  chart?: Chart;
3371
3381
  creator?: common.UserInfo;
3372
3382
  updater?: common.UserInfo;
3383
+ /**
3384
+ * When non-empty, this panel renders inside the Group panel identified by group_id.
3385
+ * GROUP-typed panels must keep this field empty (groups cannot nest).
3386
+ */
3387
+ groupId?: string;
3373
3388
  };
3374
3389
  type SharingConfig = {
3375
3390
  isReadonly?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/api",
3
- "version": "1.0.5-rc.5",
3
+ "version": "1.0.5-rc.6",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
package/src/types.gen.ts CHANGED
@@ -3069,8 +3069,9 @@ export namespace web_service {
3069
3069
  sqlExecuteEngine?: analytic_service.ExecuteEngine;
3070
3070
  enableExperimentalFeatures?: boolean;
3071
3071
  overlayGraphs?: Array<OverlayGraph>;
3072
+ group?: Group;
3072
3073
  };
3073
- export type ChartDataSourceType = 'METRICS' | 'NOTES' | 'ANALYTICS' | 'INSIGHTS' | 'EVENTS' | 'RETENTION' | 'SQL';
3074
+ export type ChartDataSourceType = 'METRICS' | 'NOTES' | 'ANALYTICS' | 'INSIGHTS' | 'EVENTS' | 'RETENTION' | 'SQL' | 'GROUP';
3074
3075
  export type ChartConfig = {
3075
3076
  yAxis?: ChartConfigYAxisConfig;
3076
3077
  barGauge?: ChartConfigBarGaugeConfig;
@@ -3228,7 +3229,7 @@ export namespace web_service {
3228
3229
  column?: string;
3229
3230
  name?: string;
3230
3231
  };
3231
- export type ChartType2 = 'LINE' | 'AREA' | 'BAR' | 'BAR_GAUGE' | 'TABLE' | 'QUERY_VALUE' | 'PIE' | 'NOTE' | 'SCATTER';
3232
+ export type ChartType2 = 'LINE' | 'AREA' | 'BAR' | 'BAR_GAUGE' | 'TABLE' | 'QUERY_VALUE' | 'PIE' | 'NOTE' | 'SCATTER' | 'GROUP';
3232
3233
  export type Dashboard = {
3233
3234
  id?: string;
3234
3235
  name?: string;
@@ -3332,6 +3333,15 @@ export namespace web_service {
3332
3333
  dashboards?: Array<Dashboard>;
3333
3334
  permissions?: Array<common.Permission>;
3334
3335
  };
3336
+ /**
3337
+ * Configuration for a GROUP-typed Panel — a collapsible container that holds
3338
+ * other panels referencing it via Panel.group_id. Groups cannot nest.
3339
+ */
3340
+ export type Group = {
3341
+ title?: string;
3342
+ collapsed?: boolean;
3343
+ childLayouts?: DashboardResponsiveLayouts;
3344
+ };
3335
3345
  export type ImportDashboardRequest = {
3336
3346
  /**
3337
3347
  * The id of the target dashboard to import into.
@@ -3384,6 +3394,11 @@ export namespace web_service {
3384
3394
  chart?: Chart;
3385
3395
  creator?: common.UserInfo;
3386
3396
  updater?: common.UserInfo;
3397
+ /**
3398
+ * When non-empty, this panel renders inside the Group panel identified by group_id.
3399
+ * GROUP-typed panels must keep this field empty (groups cannot nest).
3400
+ */
3401
+ groupId?: string;
3387
3402
  };
3388
3403
  export type SharingConfig = {
3389
3404
  isReadonly?: boolean;