react-semaphor 0.0.596 → 0.0.597

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-CSOj3fnM.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-DUtAD2ee.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-CTapGyLT.js";
1
+ import { D as f } from "../chunks/dashboard-plus-RBclqnFM.js";
2
2
  import { EMPTY_SELECTION as a } from "../types/index.js";
3
3
  export {
4
4
  a as EMPTY_SELECTION,
@@ -609,7 +609,7 @@ export declare type Dialect = 'mysql' | 'postgresql' | 'bigquery' | 'redshift' |
609
609
 
610
610
  export declare type DisplayDataType = 'string' | 'date' | 'number' | 'html' | 'none';
611
611
 
612
- export declare function downloadPdf(): Promise<void>;
612
+ export declare function downloadPdf(password?: string): Promise<void>;
613
613
 
614
614
  declare interface DrillActions {
615
615
  updateDrillHierarchies: (h: DrillHierarchy[]) => void;
@@ -1726,6 +1726,75 @@ export declare type TokenParams = {
1726
1726
  timeZone?: string;
1727
1727
  };
1728
1728
 
1729
+ export declare type TokenProps = {
1730
+ /**
1731
+ * Allowed semantic domains.
1732
+ */
1733
+ allowedSemanticDomains?: string[];
1734
+ /**
1735
+ * Type of the token request. Default is 'dashboard'.
1736
+ */
1737
+ type?: 'dashboard' | 'project';
1738
+ /**
1739
+ * Initial dashboard id to be accessed.
1740
+ */
1741
+ dashboard_id?: string;
1742
+ /**
1743
+ * Unique identifier of the project.
1744
+ */
1745
+ project_id?: string;
1746
+ /**
1747
+ * Unique identifier of the tenant.
1748
+ */
1749
+ tenantId?: string;
1750
+ /**
1751
+ * Unique identifier of the tenant user accessing the dashboard.
1752
+ */
1753
+ endUserId?: string;
1754
+ /**
1755
+ * Email of the tenant user (for personalization, audit, or identification).
1756
+ */
1757
+ endUserEmail?: string;
1758
+ /**
1759
+ * Unique identifier of the org user accessing the dashboard.
1760
+ */
1761
+ orgUserId?: string;
1762
+ /**
1763
+ * Email of the org user (for personalization, audit, or identification).
1764
+ */
1765
+ orgUserEmail?: string;
1766
+ /**
1767
+ * Display name of the end user.
1768
+ */
1769
+ displayName?: string;
1770
+ /**
1771
+ * Enables self-service editing and lens creation by the end user.
1772
+ */
1773
+ allowEdit?: boolean;
1774
+ /**
1775
+ * Schema level security policy. The schema name for the tenant.
1776
+ */
1777
+ sls?: string;
1778
+ /**
1779
+ * Connection-level security policies.
1780
+ * Can be a single policy or an array of policies.
1781
+ */
1782
+ cls?: TokenSecurityPolicy[] | TokenSecurityPolicy;
1783
+ /**
1784
+ * Row-level security policies.
1785
+ * Can be a single policy or an array of policies.
1786
+ */
1787
+ rcls?: TokenSecurityPolicy[] | TokenSecurityPolicy;
1788
+ /**
1789
+ * Parameter overrides and preferences (e.g., formatting).
1790
+ */
1791
+ params?: TokenParams;
1792
+ /**
1793
+ * UI behavior and feature flags.
1794
+ */
1795
+ config?: UIConfig;
1796
+ };
1797
+
1729
1798
  /**
1730
1799
  * Main payload for generating a secure access token for a dashboard.
1731
1800
  */
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.0.596",
8
+ "version": "0.0.597",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",