@fluxo-dev/api-client-base 26.1.3 → 26.1.5
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/index.cjs.js +3 -0
- package/package.json +2 -2
- package/src/lib/bi/bi.service.d.ts +3 -0
package/index.cjs.js
CHANGED
|
@@ -5928,6 +5928,9 @@ class BiService {
|
|
|
5928
5928
|
deleteDashboard(dashboardId) {
|
|
5929
5929
|
return HttpClient$1.Instance().client.delete(`bi/dashboard/${dashboardId}`);
|
|
5930
5930
|
}
|
|
5931
|
+
createDashboard(command) {
|
|
5932
|
+
return HttpClient$1.Instance().client.post(`bi/dashboard`, command);
|
|
5933
|
+
}
|
|
5931
5934
|
changeVisibility(dashboardId, isPublic) {
|
|
5932
5935
|
return HttpClient$1.Instance().client.put(`bi/dashboard/${dashboardId}/visibility`, {
|
|
5933
5936
|
isPublic
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluxo-dev/api-client-base",
|
|
3
|
-
"version": "26.1.
|
|
3
|
+
"version": "26.1.5",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"react": "^18.3.1",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"react-router-dom": "^6.11.2",
|
|
9
9
|
"react-redux": "^8.0.5",
|
|
10
10
|
"@reduxjs/toolkit": "^1.9.1",
|
|
11
|
-
"@fluxo-dev/state": "^26.1.
|
|
11
|
+
"@fluxo-dev/state": "^26.1.5"
|
|
12
12
|
},
|
|
13
13
|
"main": "./index.cjs.js",
|
|
14
14
|
"types": "./index.cjs.d.ts"
|
|
@@ -2,6 +2,9 @@ import { DataConnection, DashboardDomainRolesPermission, DashboardInfo } from ".
|
|
|
2
2
|
import { UpdateDashboardInfo } from "./models/update-dashboard-info";
|
|
3
3
|
export declare class BiService {
|
|
4
4
|
deleteDashboard(dashboardId: string): Promise<void>;
|
|
5
|
+
createDashboard(command: {
|
|
6
|
+
name: string;
|
|
7
|
+
}): Promise<DashboardInfo>;
|
|
5
8
|
changeVisibility(dashboardId: string, isPublic: boolean): Promise<void>;
|
|
6
9
|
updateRole(dashboardId: string, domainRoleId: number, enabled: boolean): Promise<void>;
|
|
7
10
|
getDashboardInfo(dashboardId: string): Promise<{
|