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:
parent
153ea869e0
commit
365b9dbf11
10 changed files with 128 additions and 166 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue