╭ changed ──────╮ │src/ui/Home.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────╮ │1 const std = @import("std"); │ │2 const ui = @import("../ui.zig");│ │3 const xit = @import("xit"); │ │4 -const rp = xit.repo; │ │4 const xitui = xit.xitui; │ │5 const wgt = xitui.widget; │ │6 const layout = xitui.layout; │ ╰───────────────────────────────────╯ ╭──────────────────────────────────────────────────╮ │ 7 const inp = xitui.input; │ │ 8 const Grid = xitui.grid.Grid; │ │ 9 const Focus = xitui.focus.Focus; │ │10 +const evt = @import("../event.zig"); │ │11 │ │12 pub const Users = @import("./Home/Users.zig");│ │13 pub const Repos = @import("./Home/Repos.zig");│ ╰──────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────╮ │24 const Self = @This(); │ │25 │ │26 pub fn init( │ │27 - comptime repo_opts: rp.RepoOpts(.xit), │ │27 arena: *std.heap.ArenaAllocator, │ │29 - haxy_moment: rp.Repo(.xit, repo_opts).DB.HashMap(.read_only),│ │28 + haxy_moment: evt.AdminDB.HashMap(.read_only), │ │29 ) !Self { │ │30 return .{ │ │31 .header = try Header.init(arena), │ ╰─────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────╮ │33 - .users = try Users.init(repo_opts, arena, haxy_moment),│ │34 - .repos = try Repos.init(repo_opts, arena, haxy_moment),│ │32 + .users = try Users.init(arena, haxy_moment), │ │33 + .repos = try Repos.init(arena, haxy_moment), │ │34 .ansi = Ansi.init(), │ │35 .auth = Auth.init(), │ │36 }; │ ╰───────────────────────────────────────────────────────────────────╯