feature(dashboard): add new retention chart type

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-10-15 20:40:24 +02:00
committed by Carl-Gerhard Lindesvärd
parent e2065da16e
commit f977c5454a
53 changed files with 1463 additions and 364 deletions

View File

@@ -192,6 +192,7 @@ enum Interval {
day
month
minute
week
}
enum ChartType {
@@ -203,6 +204,7 @@ enum ChartType {
area
map
funnel
retention
}
model Dashboard {
@@ -243,6 +245,7 @@ model Report {
projectId String
project Project @relation(fields: [projectId], references: [id])
previous Boolean @default(false)
criteria String?
dashboardId String
dashboard Dashboard @relation(fields: [dashboardId], references: [id])