@qrvey/utils 1.16.0-2 → 1.16.0-4

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.
@@ -2,7 +2,9 @@ import { II18nFormulaBuilderErrorMessage } from "./II18nFormulaBuilderErrorMessa
2
2
  import { II18nFormulaBuilderV2Functions } from "./II18nFormulaBuilderV2Functions";
3
3
  export interface II18nFormulaBuilderCreateModal {
4
4
  title_header_create: string;
5
+ title_header_create_aggregate: string;
5
6
  title_header_edit: string;
7
+ title_header_edit_aggregate: string;
6
8
  title_header_table: string;
7
9
  name: string;
8
10
  placeholder_name: string;
@@ -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
  }
@@ -39,7 +39,9 @@ exports.I18N_FORMULA_BUILDER = {
39
39
  },
40
40
  create_modal: {
41
41
  title_header_create: "Create Formula",
42
+ title_header_create_aggregate: "Create Aggregate Formula",
42
43
  title_header_edit: "Edit Formula",
44
+ title_header_edit_aggregate: "Edit Aggregate Formula",
43
45
  title_header_table: "Create Table Formula",
44
46
  name: "Formula Name",
45
47
  placeholder_name: "Type Formula Name",
@@ -385,45 +387,45 @@ exports.I18N_FORMULA_BUILDER = {
385
387
  param_num1_name: "num1",
386
388
  param_num1_description: "The number that you want to convert to text.",
387
389
  },
388
- agg_sum: {
390
+ sum: {
389
391
  description: "Returns the aggregated sum of the numeric values of a column.",
390
- function_placeholder: "AGG_SUM(column)",
392
+ function_placeholder: "SUM(column)",
391
393
  param_column_name: "column",
392
394
  param_column_description: "The numeric column that will be aggregated.",
393
395
  },
394
- agg_avg: {
396
+ avg: {
395
397
  description: "Returns the average value for all the numeric values of a column.",
396
- function_placeholder: "AGG_AVG(column)",
398
+ function_placeholder: "AVG(column)",
397
399
  param_column_name: "column",
398
400
  param_column_description: "The numeric column that will be aggregated.",
399
401
  },
400
- agg_med: {
402
+ med: {
401
403
  description: "Returns the median value for all the numeric values of a column.",
402
- function_placeholder: "AGG_MED(column)",
404
+ function_placeholder: "MED(column)",
403
405
  param_column_name: "column",
404
406
  param_column_description: "The numeric column that will be aggregated.",
405
407
  },
406
- agg_min: {
408
+ minval: {
407
409
  description: "Returns the minimum value among all the numeric values of a column.",
408
- function_placeholder: "AGG_MIN(column)",
410
+ function_placeholder: "MINVAL(column)",
409
411
  param_column_name: "column",
410
412
  param_column_description: "The numeric column that will be aggregated.",
411
413
  },
412
- agg_max: {
414
+ maxval: {
413
415
  description: "Returns the maximum value among all the numeric values of a column.",
414
- function_placeholder: "AGG_MAX(column)",
416
+ function_placeholder: "MAXVAL(column)",
415
417
  param_column_name: "column",
416
418
  param_column_description: "The numeric column that will be aggregated.",
417
419
  },
418
- agg_count: {
420
+ count: {
419
421
  description: "Returns the count of all the values of a column.",
420
- function_placeholder: "AGG_COUNT(column)",
422
+ function_placeholder: "COUNT(column)",
421
423
  param_column_name: "column",
422
424
  param_column_description: "The column that will be aggregated.",
423
425
  },
424
- agg_distcount: {
426
+ distcount: {
425
427
  description: "Returns the count of all the distinct values of a column.",
426
- function_placeholder: "AGG_DISTCOUNT(column)",
428
+ function_placeholder: "DISTCOUNT(column)",
427
429
  param_column_name: "column",
428
430
  param_column_description: "The column that will be aggregated.",
429
431
  },
@@ -2,7 +2,9 @@ import { II18nFormulaBuilderErrorMessage } from "./II18nFormulaBuilderErrorMessa
2
2
  import { II18nFormulaBuilderV2Functions } from "./II18nFormulaBuilderV2Functions";
3
3
  export interface II18nFormulaBuilderCreateModal {
4
4
  title_header_create: string;
5
+ title_header_create_aggregate: string;
5
6
  title_header_edit: string;
7
+ title_header_edit_aggregate: string;
6
8
  title_header_table: string;
7
9
  name: string;
8
10
  placeholder_name: string;
@@ -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
  }
@@ -36,7 +36,9 @@ export const I18N_FORMULA_BUILDER = {
36
36
  },
37
37
  create_modal: {
38
38
  title_header_create: "Create Formula",
39
+ title_header_create_aggregate: "Create Aggregate Formula",
39
40
  title_header_edit: "Edit Formula",
41
+ title_header_edit_aggregate: "Edit Aggregate Formula",
40
42
  title_header_table: "Create Table Formula",
41
43
  name: "Formula Name",
42
44
  placeholder_name: "Type Formula Name",
@@ -382,45 +384,45 @@ export const I18N_FORMULA_BUILDER = {
382
384
  param_num1_name: "num1",
383
385
  param_num1_description: "The number that you want to convert to text.",
384
386
  },
385
- agg_sum: {
387
+ sum: {
386
388
  description: "Returns the aggregated sum of the numeric values of a column.",
387
- function_placeholder: "AGG_SUM(column)",
389
+ function_placeholder: "SUM(column)",
388
390
  param_column_name: "column",
389
391
  param_column_description: "The numeric column that will be aggregated.",
390
392
  },
391
- agg_avg: {
393
+ avg: {
392
394
  description: "Returns the average value for all the numeric values of a column.",
393
- function_placeholder: "AGG_AVG(column)",
395
+ function_placeholder: "AVG(column)",
394
396
  param_column_name: "column",
395
397
  param_column_description: "The numeric column that will be aggregated.",
396
398
  },
397
- agg_med: {
399
+ med: {
398
400
  description: "Returns the median value for all the numeric values of a column.",
399
- function_placeholder: "AGG_MED(column)",
401
+ function_placeholder: "MED(column)",
400
402
  param_column_name: "column",
401
403
  param_column_description: "The numeric column that will be aggregated.",
402
404
  },
403
- agg_min: {
405
+ minval: {
404
406
  description: "Returns the minimum value among all the numeric values of a column.",
405
- function_placeholder: "AGG_MIN(column)",
407
+ function_placeholder: "MINVAL(column)",
406
408
  param_column_name: "column",
407
409
  param_column_description: "The numeric column that will be aggregated.",
408
410
  },
409
- agg_max: {
411
+ maxval: {
410
412
  description: "Returns the maximum value among all the numeric values of a column.",
411
- function_placeholder: "AGG_MAX(column)",
413
+ function_placeholder: "MAXVAL(column)",
412
414
  param_column_name: "column",
413
415
  param_column_description: "The numeric column that will be aggregated.",
414
416
  },
415
- agg_count: {
417
+ count: {
416
418
  description: "Returns the count of all the values of a column.",
417
- function_placeholder: "AGG_COUNT(column)",
419
+ function_placeholder: "COUNT(column)",
418
420
  param_column_name: "column",
419
421
  param_column_description: "The column that will be aggregated.",
420
422
  },
421
- agg_distcount: {
423
+ distcount: {
422
424
  description: "Returns the count of all the distinct values of a column.",
423
- function_placeholder: "AGG_DISTCOUNT(column)",
425
+ function_placeholder: "DISTCOUNT(column)",
424
426
  param_column_name: "column",
425
427
  param_column_description: "The column that will be aggregated.",
426
428
  },
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-4",
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",