@standardnotes/analytics
Advanced tools
Comparing version 1.24.0 to 1.25.0
@@ -11,6 +11,7 @@ export declare enum Period { | ||
Last30Days = 8, | ||
Q1ThisYear = 9, | ||
Q2ThisYear = 10, | ||
Q3ThisYear = 11, | ||
Q4ThisYear = 12 | ||
Last7Days = 9, | ||
Q1ThisYear = 10, | ||
Q2ThisYear = 11, | ||
Q3ThisYear = 12, | ||
Q4ThisYear = 13 | ||
} |
@@ -15,6 +15,7 @@ "use strict"; | ||
Period[Period["Last30Days"] = 8] = "Last30Days"; | ||
Period[Period["Q1ThisYear"] = 9] = "Q1ThisYear"; | ||
Period[Period["Q2ThisYear"] = 10] = "Q2ThisYear"; | ||
Period[Period["Q3ThisYear"] = 11] = "Q3ThisYear"; | ||
Period[Period["Q4ThisYear"] = 12] = "Q4ThisYear"; | ||
Period[Period["Last7Days"] = 9] = "Last7Days"; | ||
Period[Period["Q1ThisYear"] = 10] = "Q1ThisYear"; | ||
Period[Period["Q2ThisYear"] = 11] = "Q2ThisYear"; | ||
Period[Period["Q3ThisYear"] = 12] = "Q3ThisYear"; | ||
Period[Period["Q4ThisYear"] = 13] = "Q4ThisYear"; | ||
})(Period = exports.Period || (exports.Period = {})); |
@@ -14,2 +14,7 @@ "use strict"; | ||
return periodKeys; | ||
case Period_1.Period.Last7Days: | ||
for (let i = 1; i <= 7; i++) { | ||
periodKeys.unshift(this.getDailyKey(this.getDateNDaysBefore(i))); | ||
} | ||
return periodKeys; | ||
case Period_1.Period.Q1ThisYear: | ||
@@ -16,0 +21,0 @@ return this.generateMonthlyKeysRange(0, 3); |
{ | ||
"name": "@standardnotes/analytics", | ||
"version": "1.24.0", | ||
"version": "1.25.0", | ||
"engines": { | ||
@@ -40,3 +40,3 @@ "node": ">=14.0.0 <17.0.0" | ||
}, | ||
"gitHead": "c5fdd59eb1fe4f7cea990d09c17e54e3c858db48" | ||
"gitHead": "0ad62636b93c0e3751a5e9257c6799a9147a47d6" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62851
558