(identity: Identity)
| 107 | |
| 108 | // ── Session plumbing over the real auth endpoints (mirrors the web app) ────── |
| 109 | const cookieOf = (identity: Identity): string => identity.headers?.["cookie"] ?? ""; |
| 110 | |
| 111 | const postJson = (target: TargetShape, path: string, identity: Identity, body: unknown) => |
| 112 | Effect.promise(async () => { |