@3e/sqa-common 6.21.0-2 → 6.21.0-3
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.d.ts +17 -0
- package/package.json +1 -1
- package/sqa_common.js +209 -207
package/index.d.ts
CHANGED
|
@@ -148,6 +148,23 @@ declare module '@3e/sqa-common' {
|
|
|
148
148
|
*/
|
|
149
149
|
populateVisualization(visualization: Visualization): Promise<Visualization>
|
|
150
150
|
|
|
151
|
+
/**
|
|
152
|
+
* @param visualization - the visualization to be populated
|
|
153
|
+
* @param callback - Callback function called with the populated viz when the operation is done
|
|
154
|
+
* @param cancelPromise - A promise that resolves to an object with a `cancelled?` key
|
|
155
|
+
* if this promise resolves before the operation is done, the operation is cancelled
|
|
156
|
+
*
|
|
157
|
+
* @returns A promise with the populated visualization
|
|
158
|
+
*/
|
|
159
|
+
populateVisualization(
|
|
160
|
+
visualization: Visualization,
|
|
161
|
+
callback: (visualization: Visualization),
|
|
162
|
+
cancelPromise: Promise<{"cancelled?": boolean}>
|
|
163
|
+
): Promise<Visualization>
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
151
168
|
/**
|
|
152
169
|
* Creates a table for measurements, for a single selected object
|
|
153
170
|
*
|