Switch to using newtable partial for all tables

Will be renamed eventually, don't care right now. Also cleans up a lot of code I wasn't particularly happy about
This commit is contained in:
mitteneer 2025-05-13 14:24:14 -04:00
parent 153ea869e0
commit 365b9dbf11
10 changed files with 128 additions and 166 deletions

View file

@ -72,3 +72,18 @@ pub const Rules = struct {
// scrobbles,
// date,
//};
//
pub const TableRows = struct {
song: ?HyperlinkData = null,
album: ?HyperlinkData = null,
artist: ?HyperlinkData = null,
artistlist: ?[]HyperlinkData = null,
scrobbles: ?i64 = null,
date: ?[]const u8 = null,
};
pub const HyperlinkData = struct {
name: []const u8,
id: i32,
};