@qrvey/utils 1.16.0-1 → 1.16.0-2

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.
@@ -0,0 +1,3 @@
1
+ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
+ export interface II18nFormulaBuilderV2FunctionNow extends II18nFormulaBuilderFunction {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -22,6 +22,7 @@ import { II18nFormulaBuilderV2FunctionMid } from "./II18nFormulaBuilderV2Functio
22
22
  import { II18nFormulaBuilderV2FunctionMillisecond } from "./II18nFormulaBuilderV2FunctionMillisecond";
23
23
  import { II18nFormulaBuilderV2FunctionMinute } from "./II18nFormulaBuilderV2FunctionMinute";
24
24
  import { II18nFormulaBuilderV2FunctionMonth } from "./II18nFormulaBuilderV2FunctionMonth";
25
+ import { II18nFormulaBuilderV2FunctionNow } from "./II18nFormulaBuilderV2FunctionNow";
25
26
  import { II18nFormulaBuilderV2FunctionOdd } from "./II18nFormulaBuilderV2FunctionOdd";
26
27
  import { II18nFormulaBuilderV2FunctionPower } from "./II18nFormulaBuilderV2FunctionPower";
27
28
  import { II18nFormulaBuilderV2FunctionReplace } from "./II18nFormulaBuilderV2FunctionReplace";
@@ -35,6 +36,7 @@ import { II18nFormulaBuilderV2FunctionYear } from "./II18nFormulaBuilderV2Functi
35
36
  export interface II18nFormulaBuilderV2Functions {
36
37
  abs: II18nFormulaBuilderV2FunctionAbs;
37
38
  datedif: II18nFormulaBuilderV2FunctionDatedif;
39
+ now: II18nFormulaBuilderV2FunctionNow;
38
40
  day: II18nFormulaBuilderV2FunctionDay;
39
41
  hour: II18nFormulaBuilderV2FunctionHour;
40
42
  minute: II18nFormulaBuilderV2FunctionMinute;
@@ -115,7 +115,11 @@ exports.I18N_FORMULA_BUILDER = {
115
115
  param_date_value2_name: "date_value2",
116
116
  param_date_value2_description: 'The second date value. It can be a column or a datetime value entered with a format of either "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS". This date should always be equal or greater than date_value1.',
117
117
  param_date_part_name: "date_part",
118
- param_date_part_description: 'Date part allows: "Y" the number of complete years in the period, "M" the number of complete months in the period, "D" the number of days in the period.',
118
+ param_date_part_description: 'Date part allows: "Y" the number of complete years in the period, "M" the number of complete months in the period, "D" the number of days in the period., “H“ the number of hours in the period, “MI“ the number of minutes in the period, “S“ the number of seconds in the period.',
119
+ },
120
+ now: {
121
+ description: "Returns a date with the current time in the current timezone with the following format: yyyy-MM-ddTHH:mm:ss.",
122
+ function_placeholder: "NOW()",
119
123
  },
120
124
  day: {
121
125
  description: "Returns the day of a date. The day is given as an integer ranging from 1 to 31.",
@@ -0,0 +1,3 @@
1
+ import { II18nFormulaBuilderFunction } from "./II18nFormulaBuilderFunction";
2
+ export interface II18nFormulaBuilderV2FunctionNow extends II18nFormulaBuilderFunction {
3
+ }
@@ -22,6 +22,7 @@ import { II18nFormulaBuilderV2FunctionMid } from "./II18nFormulaBuilderV2Functio
22
22
  import { II18nFormulaBuilderV2FunctionMillisecond } from "./II18nFormulaBuilderV2FunctionMillisecond";
23
23
  import { II18nFormulaBuilderV2FunctionMinute } from "./II18nFormulaBuilderV2FunctionMinute";
24
24
  import { II18nFormulaBuilderV2FunctionMonth } from "./II18nFormulaBuilderV2FunctionMonth";
25
+ import { II18nFormulaBuilderV2FunctionNow } from "./II18nFormulaBuilderV2FunctionNow";
25
26
  import { II18nFormulaBuilderV2FunctionOdd } from "./II18nFormulaBuilderV2FunctionOdd";
26
27
  import { II18nFormulaBuilderV2FunctionPower } from "./II18nFormulaBuilderV2FunctionPower";
27
28
  import { II18nFormulaBuilderV2FunctionReplace } from "./II18nFormulaBuilderV2FunctionReplace";
@@ -35,6 +36,7 @@ import { II18nFormulaBuilderV2FunctionYear } from "./II18nFormulaBuilderV2Functi
35
36
  export interface II18nFormulaBuilderV2Functions {
36
37
  abs: II18nFormulaBuilderV2FunctionAbs;
37
38
  datedif: II18nFormulaBuilderV2FunctionDatedif;
39
+ now: II18nFormulaBuilderV2FunctionNow;
38
40
  day: II18nFormulaBuilderV2FunctionDay;
39
41
  hour: II18nFormulaBuilderV2FunctionHour;
40
42
  minute: II18nFormulaBuilderV2FunctionMinute;
@@ -112,7 +112,11 @@ export const I18N_FORMULA_BUILDER = {
112
112
  param_date_value2_name: "date_value2",
113
113
  param_date_value2_description: 'The second date value. It can be a column or a datetime value entered with a format of either "MM/DD/YYYY" or "MM/DD/YYYY HH:MM:SS". This date should always be equal or greater than date_value1.',
114
114
  param_date_part_name: "date_part",
115
- param_date_part_description: 'Date part allows: "Y" the number of complete years in the period, "M" the number of complete months in the period, "D" the number of days in the period.',
115
+ param_date_part_description: 'Date part allows: "Y" the number of complete years in the period, "M" the number of complete months in the period, "D" the number of days in the period., “H“ the number of hours in the period, “MI“ the number of minutes in the period, “S“ the number of seconds in the period.',
116
+ },
117
+ now: {
118
+ description: "Returns a date with the current time in the current timezone with the following format: yyyy-MM-ddTHH:mm:ss.",
119
+ function_placeholder: "NOW()",
116
120
  },
117
121
  day: {
118
122
  description: "Returns the day of a date. The day is given as an integer ranging from 1 to 31.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrvey/utils",
3
- "version": "1.16.0-1",
3
+ "version": "1.16.0-2",
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",