feat(maestro): spawn form rerolls from a fetched name batch (#53)

This commit is contained in:
Miguel Palhas
2026-08-23 21:15:33 +01:00
parent a970ba89c2
commit 818e0cc2db
7 changed files with 207 additions and 37 deletions
+4
View File
@@ -11,11 +11,15 @@ export const DIRS = "/api/dirs";
export const RECENT_DIRS = "/api/recent-dirs";
export const PROJECTS = "/api/projects";
export const GITROOT = "/api/gitroot";
export const NAMES = "/api/names";
export const EVENTS = "/api/events";
/** Name of the query parameter `DIRS` and `GITROOT` both take. */
export const PATH_QUERY = "path";
/** Name of the query parameter `NAMES` takes. */
export const COUNT_QUERY = "count";
export function session(id: Uuid): string {
return `${SESSIONS}/${encodeURIComponent(id)}`;
}