Dashboards: WeekStart is now of type WeekStart | undefined instead of string (#101123)

* change weektype from string to WeekStart | undefined

* Change to WeekStart in more places, fix lint

* change in more places

* More weekstart changes

* fix snapshot, update betterer

* keep weekstart as '' in test dashboards to make sure it doesn't break old dashboards
This commit is contained in:
Oscar Kilhed
2025-02-24 11:35:55 +01:00
committed by GitHub
parent 5d57236a0c
commit 01b57f412f
15 changed files with 42 additions and 36 deletions
+1 -1
View File
@@ -48,8 +48,8 @@ export function makeNewDashboardRequestBody(dashboardName: string, folderUid?: s
timezone: '',
title: dashboardName,
version: 0,
weekStart: '',
uid: '',
weekStart: '',
},
message: '',
overwrite: false,