@vizzly/api-client 0.0.3 → 0.0.4
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/dist/models/Vizzly.d.ts +3 -0
- package/dist/models/Vizzly.js +6 -3
- package/package.json +1 -1
package/dist/models/Vizzly.d.ts
CHANGED
|
@@ -6,6 +6,9 @@ import { DashboardManager } from './DashboardManager';
|
|
|
6
6
|
export declare class Vizzly {
|
|
7
7
|
private APIs;
|
|
8
8
|
implementationStrategy: ImplementationStrategy;
|
|
9
|
+
private dashboardRepository;
|
|
10
|
+
private globalLibraryRepository;
|
|
11
|
+
private dashboardManager;
|
|
9
12
|
constructor(APIs: PartialBy<APIs, 'vizzlyQueryEngineApi'>, implementationStrategy: PersistDirectToVizzlyApi);
|
|
10
13
|
getAPIs(): APIs | PartialBy<APIs, 'vizzlyQueryEngineApi'>;
|
|
11
14
|
getVizzlyAppApi(): import("./VizzlyAppApi").VizzlyAppApi;
|
package/dist/models/Vizzly.js
CHANGED
|
@@ -9,6 +9,9 @@ class Vizzly {
|
|
|
9
9
|
constructor(APIs, implementationStrategy) {
|
|
10
10
|
this.APIs = APIs;
|
|
11
11
|
this.implementationStrategy = implementationStrategy;
|
|
12
|
+
this.dashboardManager = new DashboardManager_1.DashboardManager(this);
|
|
13
|
+
this.dashboardRepository = new DashboardRepository_1.DashboardRepository(this);
|
|
14
|
+
this.globalLibraryRepository = new GlobalLibraryRepository_1.GlobalLibraryRepository(this);
|
|
12
15
|
}
|
|
13
16
|
getAPIs() {
|
|
14
17
|
if (this.implementationStrategy.shouldPersistViaQueryEngine() && !this.APIs.vizzlyQueryEngineApi) {
|
|
@@ -26,13 +29,13 @@ class Vizzly {
|
|
|
26
29
|
return this.getAPIs().vizzlyApi;
|
|
27
30
|
}
|
|
28
31
|
getDashboardRepository() {
|
|
29
|
-
return
|
|
32
|
+
return this.dashboardRepository;
|
|
30
33
|
}
|
|
31
34
|
getGlobalLibraryRepository() {
|
|
32
|
-
return
|
|
35
|
+
return this.globalLibraryRepository;
|
|
33
36
|
}
|
|
34
37
|
getDashboardManager() {
|
|
35
|
-
return
|
|
38
|
+
return this.dashboardManager;
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
exports.Vizzly = Vizzly;
|