@gdacm/dashboard-manager 0.1.1 → 0.1.6
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/DashboardInfo.d.ts +6 -6
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/DashboardInfo.d.ts
CHANGED
|
@@ -29,8 +29,8 @@ export declare class DashboardInfo {
|
|
|
29
29
|
* @type {GenericMetaOptions}
|
|
30
30
|
*/
|
|
31
31
|
_metaOptions: GenericMetaOptions;
|
|
32
|
-
/** @type {((uid: string,
|
|
33
|
-
_dashboardGenerator: ((uid: string,
|
|
32
|
+
/** @type {((uid: string, metaOptions: DashboardMetaOptions) => Promise<GrafanaItem>)|undefined} */
|
|
33
|
+
_dashboardGenerator: ((uid: string, metaOptions: DashboardMetaOptions) => Promise<GrafanaItem>) | undefined;
|
|
34
34
|
constructor();
|
|
35
35
|
/**
|
|
36
36
|
* @returns {string|undefined}
|
|
@@ -111,12 +111,12 @@ export declare class DashboardInfo {
|
|
|
111
111
|
*/
|
|
112
112
|
addMetaOption(key: string, value: any): this;
|
|
113
113
|
/**
|
|
114
|
-
* @returns {((uid: string,
|
|
114
|
+
* @returns {((uid: string, metaOptions: DashboardMetaOptions) => Promise<GrafanaItem>)|undefined}
|
|
115
115
|
*/
|
|
116
|
-
get getDashboard(): ((uid: string,
|
|
116
|
+
get getDashboard(): ((uid: string, metaOptions: DashboardMetaOptions) => Promise<GrafanaItem>) | undefined;
|
|
117
117
|
/**
|
|
118
|
-
* @param {((uid: string,
|
|
118
|
+
* @param {((uid: string, metaOptions: DashboardMetaOptions) => Promise<GrafanaItem>)|undefined} dashboardGenerator
|
|
119
119
|
* @returns {this}
|
|
120
120
|
*/
|
|
121
|
-
setDashboardGenerator(dashboardGenerator: ((uid: string,
|
|
121
|
+
setDashboardGenerator(dashboardGenerator: ((uid: string, metaOptions: DashboardMetaOptions) => Promise<GrafanaItem>) | undefined): this;
|
|
122
122
|
}
|
package/dist/index.js
CHANGED
|
@@ -3717,7 +3717,7 @@ var DashboardInfo = class {
|
|
|
3717
3717
|
* @type {GenericMetaOptions}
|
|
3718
3718
|
*/
|
|
3719
3719
|
this._metaOptions = {};
|
|
3720
|
-
/** @type {((uid: string,
|
|
3720
|
+
/** @type {((uid: string, metaOptions: DashboardMetaOptions) => Promise<GrafanaItem>)|undefined} */
|
|
3721
3721
|
this._dashboardGenerator = void 0;
|
|
3722
3722
|
}
|
|
3723
3723
|
/**
|
|
@@ -3842,13 +3842,13 @@ var DashboardInfo = class {
|
|
|
3842
3842
|
return this;
|
|
3843
3843
|
}
|
|
3844
3844
|
/**
|
|
3845
|
-
* @returns {((uid: string,
|
|
3845
|
+
* @returns {((uid: string, metaOptions: DashboardMetaOptions) => Promise<GrafanaItem>)|undefined}
|
|
3846
3846
|
*/
|
|
3847
3847
|
get getDashboard() {
|
|
3848
3848
|
return this._dashboardGenerator;
|
|
3849
3849
|
}
|
|
3850
3850
|
/**
|
|
3851
|
-
* @param {((uid: string,
|
|
3851
|
+
* @param {((uid: string, metaOptions: DashboardMetaOptions) => Promise<GrafanaItem>)|undefined} dashboardGenerator
|
|
3852
3852
|
* @returns {this}
|
|
3853
3853
|
*/
|
|
3854
3854
|
setDashboardGenerator(dashboardGenerator) {
|