@3e/sqa-common 6.0.7-19 → 6.0.7-20
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 +4 -0
- package/package.json +1 -1
- package/sqa_common.js +939 -934
package/index.d.ts
CHANGED
|
@@ -901,6 +901,7 @@ declare module '@3e/sqa-common' {
|
|
|
901
901
|
export type MeasurementsTable = {
|
|
902
902
|
meta: {
|
|
903
903
|
rows: MeasurementsRowExtraInfo[]
|
|
904
|
+
primaryObject: string
|
|
904
905
|
}
|
|
905
906
|
header: string[]
|
|
906
907
|
rows: (string | number | null)[][]
|
|
@@ -1265,6 +1266,8 @@ declare module '@3e/sqa-common' {
|
|
|
1265
1266
|
*
|
|
1266
1267
|
* @param object - the object reference
|
|
1267
1268
|
* @param granularity - the granularity for the data fetched
|
|
1269
|
+
* @param period - the period for the data fetched (currently hardcoded to 120 minutes)
|
|
1270
|
+
* pass null to use the default period
|
|
1268
1271
|
* @param callback - Callback function called with the populated table
|
|
1269
1272
|
*
|
|
1270
1273
|
* @returns a function to cancel the operation
|
|
@@ -1272,6 +1275,7 @@ declare module '@3e/sqa-common' {
|
|
|
1272
1275
|
getLatestMeasurements(
|
|
1273
1276
|
object: string,
|
|
1274
1277
|
granularity: 'raw' | 'scaled' | 'normalised',
|
|
1278
|
+
period: Period | null,
|
|
1275
1279
|
callback: (result: MeasurementsTable) => void,
|
|
1276
1280
|
): () => void
|
|
1277
1281
|
|