Work on making partials for views

This commit is contained in:
mitteneer 2025-05-08 18:17:45 -04:00
parent 4758885c68
commit 153ea869e0
9 changed files with 102 additions and 132 deletions

View file

@ -62,10 +62,13 @@ pub const Rules = struct {
rules: []const Rule,
};
pub const Headers = []enum {
Song,
Album,
Artist,
Scrobbles,
Date,
};
// Can't import types in .zmpl files, so defining this here
// doesn't really do much (except maybe in the .zig file for views?)
//pub const HeaderTypes = []enum {
// song,
// album,
// artist,
// artistlist,
// scrobbles,
// date,
//};