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

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,26 @@ 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
+ style?: GroupStyle;
3331
+ /**
3332
+ * Palette key (e.g. "green", "purple") used to derive the header
3333
+ * background. Empty string keeps the theme default.
3334
+ */
3335
+ highlightColor?: string;
3336
+ };
3337
+ /**
3338
+ * Visual treatment for the Group's header card. Default = plain border;
3339
+ * Emphasis = solid highlight_color tint behind the title row.
3340
+ */
3341
+ type GroupStyle = 'DEFAULT' | 'EMPHASIS';
3321
3342
  type ImportDashboardRequest = {
3322
3343
  /**
3323
3344
  * The id of the target dashboard to import into.
@@ -3370,6 +3391,11 @@ export declare namespace web_service {
3370
3391
  chart?: Chart;
3371
3392
  creator?: common.UserInfo;
3372
3393
  updater?: common.UserInfo;
3394
+ /**
3395
+ * When non-empty, this panel renders inside the Group panel identified by group_id.
3396
+ * GROUP-typed panels must keep this field empty (groups cannot nest).
3397
+ */
3398
+ groupId?: string;
3373
3399
  };
3374
3400
  type SharingConfig = {
3375
3401
  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.7",
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,26 @@ 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
+ style?: GroupStyle;
3345
+ /**
3346
+ * Palette key (e.g. "green", "purple") used to derive the header
3347
+ * background. Empty string keeps the theme default.
3348
+ */
3349
+ highlightColor?: string;
3350
+ };
3351
+ /**
3352
+ * Visual treatment for the Group's header card. Default = plain border;
3353
+ * Emphasis = solid highlight_color tint behind the title row.
3354
+ */
3355
+ export type GroupStyle = 'DEFAULT' | 'EMPHASIS';
3335
3356
  export type ImportDashboardRequest = {
3336
3357
  /**
3337
3358
  * The id of the target dashboard to import into.
@@ -3384,6 +3405,11 @@ export namespace web_service {
3384
3405
  chart?: Chart;
3385
3406
  creator?: common.UserInfo;
3386
3407
  updater?: common.UserInfo;
3408
+ /**
3409
+ * When non-empty, this panel renders inside the Group panel identified by group_id.
3410
+ * GROUP-typed panels must keep this field empty (groups cannot nest).
3411
+ */
3412
+ groupId?: string;
3387
3413
  };
3388
3414
  export type SharingConfig = {
3389
3415
  isReadonly?: boolean;