Skip to content

Commit

Permalink
feat(analytics): fine-grained time for current / previous week [MA-2499]
Browse files Browse the repository at this point in the history
  • Loading branch information
adorack committed Dec 10, 2024
1 parent eba3e34 commit 759e9ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/analytics/analytics-utilities/src/timeframes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ export const TimePeriods = new Map<string, Timeframe>([
dataGranularity: 'daily',
isRelative: false,
allowedTiers: ['plus', 'enterprise'],
allowedGranularitiesOverride: ['thirtyMinutely', 'hourly', 'twoHourly', 'twelveHourly', 'daily'],
}),
],
[
Expand Down Expand Up @@ -409,6 +410,7 @@ export const TimePeriods = new Map<string, Timeframe>([
dataGranularity: 'daily',
isRelative: false,
allowedTiers: ['plus', 'enterprise'],
allowedGranularitiesOverride: ['thirtyMinutely', 'hourly', 'twoHourly', 'twelveHourly', 'daily'],
}),
],
[
Expand Down

0 comments on commit 759e9ff

Please sign in to comment.