feat: project updated/created date + sorting on homepage

This commit is contained in:
2023-08-31 21:56:07 -06:00
parent 18f43482e0
commit 3fc3d813d3
8 changed files with 181 additions and 66 deletions

View File

@ -1,5 +1,7 @@
package model
import "time"
type ProjectID string
type ProjectEntry struct {
@ -14,6 +16,8 @@ type Project struct {
Description string `json:"description"`
Tasks map[TaskID]Task `json:"tasks"`
Params Params `json:"params"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
type Params struct {