react-semaphor 0.0.6372 → 0.0.6431

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-Bnr2I2ju.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-ryex29ZE.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
@@ -1,4 +1,4 @@
1
- import { D as f } from "../chunks/dashboard-plus-EeKZODaq.js";
1
+ import { D as f } from "../chunks/dashboard-plus-gw7UlTKJ.js";
2
2
  import { EMPTY_SELECTION as a } from "../types/index.js";
3
3
  export {
4
4
  a as EMPTY_SELECTION,
@@ -308,6 +308,7 @@ declare interface DatabaseEntityReference {
308
308
  connectionId: string;
309
309
  connectionType: ConnectionType;
310
310
  type: EntityType;
311
+ dbObjectType?: string;
311
312
  dialect?: Dialect;
312
313
  database?: string;
313
314
  schema?: string;
@@ -941,6 +942,10 @@ export declare type TCardPreferences = {
941
942
  sortRowsBy?: 'label' | 'total' | 'metric';
942
943
  sortColumnsBy?: 'label' | 'total' | 'metric';
943
944
  };
945
+ displayOptions?: {
946
+ showFilterInfo?: boolean;
947
+ showCardToolbar?: boolean;
948
+ };
944
949
  };
945
950
 
946
951
  export declare type TChartOptions = {
@@ -580,6 +580,7 @@ export declare interface DatabaseEntityReference {
580
580
  connectionId: string;
581
581
  connectionType: ConnectionType;
582
582
  type: EntityType;
583
+ dbObjectType?: string;
583
584
  dialect?: Dialect;
584
585
  database?: string;
585
586
  schema?: string;
@@ -644,7 +645,7 @@ export declare type Dialect = 'mysql' | 'postgresql' | 'bigquery' | 'redshift' |
644
645
 
645
646
  export declare type DisplayDataType = 'string' | 'date' | 'number' | 'html' | 'none';
646
647
 
647
- export declare function downloadPdf(password?: string): Promise<void>;
648
+ export declare function downloadPdf(apiServiceUrl: string, password?: string): Promise<void>;
648
649
 
649
650
  declare interface DrillActions {
650
651
  updateDrillHierarchies: (h: DrillHierarchy[]) => void;
@@ -1053,7 +1054,7 @@ declare interface InlineDrillInteraction {
1053
1054
  label?: string;
1054
1055
  }
1055
1056
 
1056
- export declare function invalidateToken(): Promise<any>;
1057
+ export declare function invalidateToken(apiServiceUrl: string): Promise<any>;
1057
1058
 
1058
1059
  export declare function isBooleanDataType(dataType: string): boolean;
1059
1060
 
@@ -1298,7 +1299,7 @@ export declare enum ResourceType {
1298
1299
 
1299
1300
  export declare function ScheduleDashboard({ triggerButtonClassName, }: {
1300
1301
  triggerButtonClassName?: string;
1301
- }): JSX_2.Element;
1302
+ }): JSX_2.Element | null;
1302
1303
 
1303
1304
  export declare type SchemaItem = DropdownItem;
1304
1305
 
@@ -1567,6 +1568,10 @@ export declare type TCardPreferences = {
1567
1568
  sortRowsBy?: 'label' | 'total' | 'metric';
1568
1569
  sortColumnsBy?: 'label' | 'total' | 'metric';
1569
1570
  };
1571
+ displayOptions?: {
1572
+ showFilterInfo?: boolean;
1573
+ showCardToolbar?: boolean;
1574
+ };
1570
1575
  };
1571
1576
 
1572
1577
  declare type TChartConfiguration = ChartConfiguration;
@@ -1856,6 +1861,14 @@ export declare type TokenProps = {
1856
1861
  * UI behavior and feature flags.
1857
1862
  */
1858
1863
  config?: UIConfig;
1864
+ /**
1865
+ * Dataservice URL.
1866
+ */
1867
+ dataServiceUrl: string;
1868
+ /**
1869
+ * API service URL.
1870
+ */
1871
+ apiServiceUrl: string;
1859
1872
  };
1860
1873
 
1861
1874
  /**
@@ -311,6 +311,7 @@ declare interface DatabaseEntityReference {
311
311
  connectionId: string;
312
312
  connectionType: ConnectionType;
313
313
  type: EntityType;
314
+ dbObjectType?: string;
314
315
  dialect?: Dialect;
315
316
  database?: string;
316
317
  schema?: string;
@@ -946,6 +947,10 @@ export declare type TCardPreferences = {
946
947
  sortRowsBy?: 'label' | 'total' | 'metric';
947
948
  sortColumnsBy?: 'label' | 'total' | 'metric';
948
949
  };
950
+ displayOptions?: {
951
+ showFilterInfo?: boolean;
952
+ showCardToolbar?: boolean;
953
+ };
949
954
  };
950
955
 
951
956
  export declare type TChartOptions = {
@@ -305,6 +305,7 @@ declare interface DatabaseEntityReference {
305
305
  connectionId: string;
306
306
  connectionType: ConnectionType;
307
307
  type: EntityType;
308
+ dbObjectType?: string;
308
309
  dialect?: Dialect;
309
310
  database?: string;
310
311
  schema?: string;
@@ -938,6 +939,10 @@ export declare type TCardPreferences = {
938
939
  sortRowsBy?: 'label' | 'total' | 'metric';
939
940
  sortColumnsBy?: 'label' | 'total' | 'metric';
940
941
  };
942
+ displayOptions?: {
943
+ showFilterInfo?: boolean;
944
+ showCardToolbar?: boolean;
945
+ };
941
946
  };
942
947
 
943
948
  export declare type TChartOptions = {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.0.6372",
8
+ "version": "0.0.6431",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",