@qrvey/utils 1.16.0-2 → 1.16.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.
@@ -76,11 +76,11 @@ export interface II18nFormulaBuilderV2Functions {
76
76
  roundup: II18nFormulaBuilderV2FunctionRound;
77
77
  millisecond: II18nFormulaBuilderV2FunctionMillisecond;
78
78
  text: II18nFormulaBuilderV2FunctionText;
79
- agg_sum: II18nFormulaBuilderV2FunctionAggregate;
80
- agg_avg: II18nFormulaBuilderV2FunctionAggregate;
81
- agg_med: II18nFormulaBuilderV2FunctionAggregate;
82
- agg_min: II18nFormulaBuilderV2FunctionAggregate;
83
- agg_max: II18nFormulaBuilderV2FunctionAggregate;
84
- agg_count: II18nFormulaBuilderV2FunctionAggregate;
85
- agg_distcount: II18nFormulaBuilderV2FunctionAggregate;
79
+ sum: II18nFormulaBuilderV2FunctionAggregate;
80
+ avg: II18nFormulaBuilderV2FunctionAggregate;
81
+ med: II18nFormulaBuilderV2FunctionAggregate;
82
+ minval: II18nFormulaBuilderV2FunctionAggregate;
83
+ maxval: II18nFormulaBuilderV2FunctionAggregate;
84
+ count: II18nFormulaBuilderV2FunctionAggregate;
85
+ distcount: II18nFormulaBuilderV2FunctionAggregate;
86
86
  }
@@ -385,45 +385,45 @@ exports.I18N_FORMULA_BUILDER = {
385
385
  param_num1_name: "num1",
386
386
  param_num1_description: "The number that you want to convert to text.",
387
387
  },
388
- agg_sum: {
388
+ sum: {
389
389
  description: "Returns the aggregated sum of the numeric values of a column.",
390
- function_placeholder: "AGG_SUM(column)",
390
+ function_placeholder: "SUM(column)",
391
391
  param_column_name: "column",
392
392
  param_column_description: "The numeric column that will be aggregated.",
393
393
  },
394
- agg_avg: {
394
+ avg: {
395
395
  description: "Returns the average value for all the numeric values of a column.",
396
- function_placeholder: "AGG_AVG(column)",
396
+ function_placeholder: "AVG(column)",
397
397
  param_column_name: "column",
398
398
  param_column_description: "The numeric column that will be aggregated.",
399
399
  },
400
- agg_med: {
400
+ med: {
401
401
  description: "Returns the median value for all the numeric values of a column.",
402
- function_placeholder: "AGG_MED(column)",
402
+ function_placeholder: "MED(column)",
403
403
  param_column_name: "column",
404
404
  param_column_description: "The numeric column that will be aggregated.",
405
405
  },
406
- agg_min: {
406
+ minval: {
407
407
  description: "Returns the minimum value among all the numeric values of a column.",
408
- function_placeholder: "AGG_MIN(column)",
408
+ function_placeholder: "MINVAL(column)",
409
409
  param_column_name: "column",
410
410
  param_column_description: "The numeric column that will be aggregated.",
411
411
  },
412
- agg_max: {
412
+ maxval: {
413
413
  description: "Returns the maximum value among all the numeric values of a column.",
414
- function_placeholder: "AGG_MAX(column)",
414
+ function_placeholder: "MAXVAL(column)",
415
415
  param_column_name: "column",
416
416
  param_column_description: "The numeric column that will be aggregated.",
417
417
  },
418
- agg_count: {
418
+ count: {
419
419
  description: "Returns the count of all the values of a column.",
420
- function_placeholder: "AGG_COUNT(column)",
420
+ function_placeholder: "COUNT(column)",
421
421
  param_column_name: "column",
422
422
  param_column_description: "The column that will be aggregated.",
423
423
  },
424
- agg_distcount: {
424
+ distcount: {
425
425
  description: "Returns the count of all the distinct values of a column.",
426
- function_placeholder: "AGG_DISTCOUNT(column)",
426
+ function_placeholder: "DISTCOUNT(column)",
427
427
  param_column_name: "column",
428
428
  param_column_description: "The column that will be aggregated.",
429
429
  },
@@ -76,11 +76,11 @@ export interface II18nFormulaBuilderV2Functions {
76
76
  roundup: II18nFormulaBuilderV2FunctionRound;
77
77
  millisecond: II18nFormulaBuilderV2FunctionMillisecond;
78
78
  text: II18nFormulaBuilderV2FunctionText;
79
- agg_sum: II18nFormulaBuilderV2FunctionAggregate;
80
- agg_avg: II18nFormulaBuilderV2FunctionAggregate;
81
- agg_med: II18nFormulaBuilderV2FunctionAggregate;
82
- agg_min: II18nFormulaBuilderV2FunctionAggregate;
83
- agg_max: II18nFormulaBuilderV2FunctionAggregate;
84
- agg_count: II18nFormulaBuilderV2FunctionAggregate;
85
- agg_distcount: II18nFormulaBuilderV2FunctionAggregate;
79
+ sum: II18nFormulaBuilderV2FunctionAggregate;
80
+ avg: II18nFormulaBuilderV2FunctionAggregate;
81
+ med: II18nFormulaBuilderV2FunctionAggregate;
82
+ minval: II18nFormulaBuilderV2FunctionAggregate;
83
+ maxval: II18nFormulaBuilderV2FunctionAggregate;
84
+ count: II18nFormulaBuilderV2FunctionAggregate;
85
+ distcount: II18nFormulaBuilderV2FunctionAggregate;
86
86
  }
@@ -382,45 +382,45 @@ export const I18N_FORMULA_BUILDER = {
382
382
  param_num1_name: "num1",
383
383
  param_num1_description: "The number that you want to convert to text.",
384
384
  },
385
- agg_sum: {
385
+ sum: {
386
386
  description: "Returns the aggregated sum of the numeric values of a column.",
387
- function_placeholder: "AGG_SUM(column)",
387
+ function_placeholder: "SUM(column)",
388
388
  param_column_name: "column",
389
389
  param_column_description: "The numeric column that will be aggregated.",
390
390
  },
391
- agg_avg: {
391
+ avg: {
392
392
  description: "Returns the average value for all the numeric values of a column.",
393
- function_placeholder: "AGG_AVG(column)",
393
+ function_placeholder: "AVG(column)",
394
394
  param_column_name: "column",
395
395
  param_column_description: "The numeric column that will be aggregated.",
396
396
  },
397
- agg_med: {
397
+ med: {
398
398
  description: "Returns the median value for all the numeric values of a column.",
399
- function_placeholder: "AGG_MED(column)",
399
+ function_placeholder: "MED(column)",
400
400
  param_column_name: "column",
401
401
  param_column_description: "The numeric column that will be aggregated.",
402
402
  },
403
- agg_min: {
403
+ minval: {
404
404
  description: "Returns the minimum value among all the numeric values of a column.",
405
- function_placeholder: "AGG_MIN(column)",
405
+ function_placeholder: "MINVAL(column)",
406
406
  param_column_name: "column",
407
407
  param_column_description: "The numeric column that will be aggregated.",
408
408
  },
409
- agg_max: {
409
+ maxval: {
410
410
  description: "Returns the maximum value among all the numeric values of a column.",
411
- function_placeholder: "AGG_MAX(column)",
411
+ function_placeholder: "MAXVAL(column)",
412
412
  param_column_name: "column",
413
413
  param_column_description: "The numeric column that will be aggregated.",
414
414
  },
415
- agg_count: {
415
+ count: {
416
416
  description: "Returns the count of all the values of a column.",
417
- function_placeholder: "AGG_COUNT(column)",
417
+ function_placeholder: "COUNT(column)",
418
418
  param_column_name: "column",
419
419
  param_column_description: "The column that will be aggregated.",
420
420
  },
421
- agg_distcount: {
421
+ distcount: {
422
422
  description: "Returns the count of all the distinct values of a column.",
423
- function_placeholder: "AGG_DISTCOUNT(column)",
423
+ function_placeholder: "DISTCOUNT(column)",
424
424
  param_column_name: "column",
425
425
  param_column_description: "The column that will be aggregated.",
426
426
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.16.0-2",
3
+ "version": "1.16.0-3",
4
4
  "description": "Helper, Utils for all Qrvey Projects",
5
5
  "homepage": "https://bitbucket.org/qrvey/qrvey_utils/wiki/Home",
6
6
  "main": "dist/index.js",