@databrainhq/plugin 0.17.9-beta.47 → 0.17.9-beta.48

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databrainhq/plugin",
3
- "version": "0.17.9-beta.47",
3
+ "version": "0.17.9-beta.48",
4
4
  "description": "Databrain app ui plugin.",
5
5
  "author": "Databrain",
6
6
  "license": "UNLICENSED",
package/types/index.d.ts CHANGED
@@ -352,6 +352,8 @@ export interface DbnAdminThemeOptions {
352
352
  /** Props for the `<dbn-dashboard>` custom element. All props are optional. */
353
353
  export interface DbnDashboardProps {
354
354
  token?: string;
355
+ /** Enable embed debug logging. Accepts booleans or string flags such as "true". */
356
+ debug?: boolean | string;
355
357
  dashboardId?: string;
356
358
  options?: DbnDashboardOptions;
357
359
  theme?: DbnJson;
@@ -396,6 +398,16 @@ export interface DbnDashboardProps {
396
398
  * card, exactly as the legacy card has always done.
397
399
  */
398
400
  enableCrossFilter?: boolean;
401
+ /** Emit a dashboard navigation intent through chartClickFunction. Opt-in. */
402
+ enableChartDashboardNavigation?: boolean;
403
+ /** Per-element saved configuration. Omit to use the configId URL parameter. */
404
+ configId?: string;
405
+ /** Set as an element property. Receives the applied filter snapshot. */
406
+ filterStateFunction?: (snapshot: unknown) => void;
407
+ /** Omit to preserve legacy rendering. */
408
+ uiVersion?: 'legacy' | 'v2';
409
+ /** Explicit section overrides. Set as an object property or JSON attribute. */
410
+ embedFlags?: import('./publicTypes').EmbedUiFlagOverride;
399
411
  optionsIcon?: string;
400
412
  settingsIcon?: DbnSettingsIcon;
401
413
  adminThemeOptions?: DbnAdminThemeOptions;
@@ -450,6 +462,8 @@ export interface DbnDashboardProps {
450
462
  /** Props for the `<dbn-metric>` custom element. All props are optional. */
451
463
  export interface DbnMetricProps {
452
464
  token?: string;
465
+ /** Enable embed debug logging. Accepts booleans or string flags such as "true". */
466
+ debug?: boolean | string;
453
467
  metricId?: string;
454
468
  theme?: DbnJson;
455
469
  chartRendererType?: string;