Add true up review status history, add migration for persisting history, add store to create, get, and update true up review history entries, cleanup errors, etc.

Этот коммит содержится в:
Conor Macpherson
2022-12-22 14:59:05 -05:00
родитель 91bc4b3c80
Коммит 88090ea40b
19 изменённых файлов: 488 добавлений и 17 удалений

Просмотреть файл

@@ -33,3 +33,15 @@ func (t *TrueUpReviewPlugins) ToMap() map[string]any {
"inactive_plugin_names": t.InactivePluginNames,
}
}
type TrueUpReviewStatus struct {
Completed bool `json:"true_up_review_completed"`
DueDate string `json:"true_up_review_due_date"`
}
func (t *TrueUpReviewStatus) ToSlice() []interface{} {
return []interface{}{
t.DueDate,
t.Completed,
}
}