We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdf8719 commit e70eaacCopy full SHA for e70eaac
2 files changed
app/composables/useCharts.ts
@@ -2,6 +2,7 @@ import type { MaybeRefOrGetter } from 'vue'
2
import { toValue } from 'vue'
3
import type {
4
DailyDataPoint,
5
+ EvolutionOptionsBase,
6
MonthlyDataPoint,
7
WeeklyDataPoint,
8
YearlyDataPoint,
@@ -12,11 +13,6 @@ export type PackumentLikeForTime = {
12
13
time?: Record<string, string>
14
}
15
-type EvolutionOptionsBase = {
16
- startDate?: string
17
- endDate?: string
18
-}
19
-
20
export type EvolutionOptionsDay = EvolutionOptionsBase & {
21
granularity: 'day'
22
app/types/chart.ts
@@ -22,3 +22,8 @@ export type EvolutionData =
| WeeklyDataPoint[]
23
| MonthlyDataPoint[]
24
| YearlyDataPoint[]
25
+
26
+export type EvolutionOptionsBase = {
27
+ startDate?: string
28
+ endDate?: string
29
+}
0 commit comments