{"draft":null,"from":150,"to":151,"files":[{"path":"server/src/issues-entry.ts","added":1,"removed":27,"diff":"--- a/server/src/issues-entry.ts\n+++ b/server/src/issues-entry.ts\n@@ -1,27 +1 @@\n-// Where the router meets issues, asks and news (server/src/issues/, built alongside this file). Until that folder\n-// lands, this is a stand-in with the same exports, so the Worker builds and its tests run. When it lands, this file\n-// becomes one line:\n-//\n-//   export { IssueProject, issuesFetch } from \"./issues/index.ts\";\n-//\n-// The agreed interface: issuesFetch(request, env, ctx, {project, rest, auth}), where rest is the path after\n-// /issues/p/<project> and auth is {kind: \"token\"} or {kind: \"key\", agent, role}. The router has checked auth before it\n-// calls. The issues code reaches the project through env.PROJECT and its RPC methods agents(project) and\n-// news(project, items) on ProjectObject.\n-\n-import { DurableObject } from \"cloudflare:workers\";\n-import type { Env } from \"./env.ts\";\n-import type { KeyRole } from \"./keys.ts\";\n-\n-export type IssuesAuth = { kind: \"token\" } | { kind: \"key\"; agent: string; role: KeyRole };\n-\n-export class IssueProject extends DurableObject<Env> {}\n-\n-export async function issuesFetch(\n-\t_request: Request,\n-\t_env: Env,\n-\t_ctx: ExecutionContext,\n-\t_where: { project: string; rest: string; auth: IssuesAuth },\n-): Promise<Response> {\n-\treturn Response.json({ error: \"issues aren't on this server yet\" }, { status: 404 });\n-}\n+export { IssueProject, type IssuesAuth, issuesFetch } from \"./issues/index.ts\";"}],"unmatched":[]}