Admin view in the web UI
This commit is contained in:
+3
-1
@@ -1,6 +1,6 @@
|
||||
import { get, type AgentSession, type ByreEvent, type InboxItem, type Project, type Task, type User } from "./api.js";
|
||||
|
||||
export type Topic = "me" | "projects" | "tasks" | "sessions" | "inbox" | "selection" | "transcript" | "stream" | "connection";
|
||||
export type Topic = "me" | "projects" | "tasks" | "sessions" | "inbox" | "selection" | "transcript" | "stream" | "connection" | "event";
|
||||
|
||||
export const state = {
|
||||
me: undefined as User | undefined,
|
||||
@@ -170,4 +170,6 @@ export function handleEvent(ev: ByreEvent): void {
|
||||
void loadInbox();
|
||||
break;
|
||||
}
|
||||
|
||||
notify("event", ev);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user