╭ changed ─╮ │src/ui.zig│ ╰──────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1914 .repo_repo_new => |a_name| std.mem.eql(u8, a_name.slice(), b.repo_repo_new.slice()), │ │1915 .repo_user_new => |a_name| std.mem.eql(u8, a_name.slice(), b.repo_user_new.slice()), │ │1916 .repo_settings => |a_name| std.mem.eql(u8, a_name.slice(), b.repo_settings.slice()), │ │1917 - .repo_roles => |a_r| std.mem.eql(u8, a_r.name.slice(), b.repo_roles.name.slice()) and │ │1918 - a_r.start == b.repo_roles.start and │ │1919 - std.mem.eql(u8, a_r.user.slice(), b.repo_roles.user.slice()) and │ │1920 - a_r.confirm == b.repo_roles.confirm, │ │1917 + .repo_members => |a_r| std.mem.eql(u8, a_r.name.slice(), b.repo_members.name.slice()) and │ │1918 + a_r.start == b.repo_members.start and │ │1919 + std.mem.eql(u8, a_r.user.slice(), b.repo_members.user.slice()) and │ │1920 + a_r.confirm == b.repo_members.confirm, │ │1921 .repo_user => |a_u| std.mem.eql(u8, a_u.name.slice(), b.repo_user.name.slice()) and a_u.tab.eql(b.repo_user.tab), │ │1922 .fork_patch => |a_f| std.mem.eql(u8, a_f.name.slice(), b.fork_patch.name.slice()) and std.mem.eql(u8, a_f.id.slice(), b.fork_patch.id.slice()),│ │1923 .fork_diff => |a_d| std.mem.eql(u8, a_d.fork.name.slice(), b.fork_diff.fork.name.slice()) and │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────╮ │2368 } │ │2369 }; │ │2370 │ │2371 - pub const RolesFailure = enum { not_found, already_added }; │ │2371 + pub const MembersFailure = enum { not_found, already_added }; │ │2372 │ │2373 pub const AssignmentFailure = enum { not_found, not_an_email, already_assigned };│ │2374 │ ╰───────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────╮ │2455 patch_role: ?evt.Repo.Role,│ │2456 }, │ │2457 }, │ │2458 - repo_roles: struct { │ │2459 - failure: RolesFailure, │ │2458 + repo_members: struct { │ │2459 + failure: MembersFailure, │ │2460 name: []const u8, │ │2461 }, │ │2462 assignment: struct { │ ╰─────────────────────────────────────────────────╯