Initial commit

This commit is contained in:
MrFastwind
2026-07-06 01:29:23 +02:00
commit b853aead8c
48 changed files with 5822 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
package models
import "time"
type ModEntry struct {
ID string `json:"id"`
Name string `json:"name"`
Enabled bool `json:"enabled"`
}
type Modlist struct {
ID string `json:"id"`
Name string `json:"name"`
Mods []ModEntry `json:"mods"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
type ModlistListItem struct {
ID string `json:"id"`
Name string `json:"name"`
ModCount int `json:"mod_count"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}