Implement mbSearch()

Getting a segfault, not sure why
This commit is contained in:
mitteneer 2025-03-07 00:32:58 -05:00
parent 1d4f79206a
commit 454505335c
4 changed files with 120 additions and 173 deletions

View file

@ -1,6 +1,11 @@
const Entities = @import("Entities.zig");
const Recording = Entities.Recording;
const Artist = Entities.Artist;
const Release = Entities.Release;
pub const Result = struct { created: []const u8, count: i32, offset: i32, artists: ?[]Artist };
pub const Result = struct {
created: ?[]const u8 = null,
count: ?u32 = null,
offset: ?u32 = null,
recordings: ?[]Recording = null,
@"error": ?[]const u8 = null,
help: ?[]const u8 = null,
};