add sqlc, fix background img fetching

This commit is contained in:
2025-07-15 01:16:07 +02:00
parent cb8a52693a
commit a3440326e8
15 changed files with 869 additions and 91 deletions

View File

@@ -0,0 +1,36 @@
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.29.0
package db
import (
"database/sql"
)
type Beatmap struct {
Beatmapid sql.NullInt64 `json:"beatmapid"`
Artist sql.NullString `json:"artist"`
Artistunicode sql.NullString `json:"artistunicode"`
Title sql.NullString `json:"title"`
Titleunicode sql.NullString `json:"titleunicode"`
Creator sql.NullString `json:"creator"`
Difficulty sql.NullString `json:"difficulty"`
Audio sql.NullString `json:"audio"`
Md5hash sql.NullString `json:"md5hash"`
File sql.NullString `json:"file"`
Rankedstatus sql.NullString `json:"rankedstatus"`
Lastmodifiedtime sql.NullTime `json:"lastmodifiedtime"`
Totaltime sql.NullInt64 `json:"totaltime"`
Audiopreviewtime sql.NullInt64 `json:"audiopreviewtime"`
Beatmapsetid sql.NullInt64 `json:"beatmapsetid"`
Source sql.NullString `json:"source"`
Tags sql.NullString `json:"tags"`
Lastplayed sql.NullTime `json:"lastplayed"`
Folder sql.NullString `json:"folder"`
}
type Collection struct {
Name sql.NullString `json:"name"`
Md5hash sql.NullString `json:"md5hash"`
}