@3e/sqa-common 6.0.9-16 → 6.0.9-17

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.
Files changed (3) hide show
  1. package/index.d.ts +11 -0
  2. package/package.json +1 -1
  3. package/sqa_common.js +1209 -1201
package/index.d.ts CHANGED
@@ -1648,6 +1648,17 @@ declare module '@3e/sqa-common' {
1648
1648
  *
1649
1649
  */
1650
1650
  generatePassword(): string
1651
+
1652
+ /**
1653
+ * Compute the total number of data-points for a view.
1654
+ * Used to determine if a view is too large to be rendered
1655
+ * and should be saved as a CSV instead
1656
+ *
1657
+ * ** Returns a promise **
1658
+ *
1659
+ * @param view - The view to be computed
1660
+ */
1661
+ getNumberOfDataPoints(view: SQView): Promise<number>
1651
1662
  }
1652
1663
 
1653
1664
  export const sqa: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3e/sqa-common",
3
- "version": "6.0.9-16",
3
+ "version": "6.0.9-17",
4
4
  "description": "SynaptiQ utilities package",
5
5
  "main": "sqa_common.js",
6
6
  "dependencies": {