Skip to content
Myr

answer.ts

This file

Path

apps/web/src/client/answer.ts

27 lines · 613 bytes · TypeScript

Last changed by

Merge build/comments-web-rest into mainoscabrielbefore adoption0eb1248

History of this file

Take it

The walk stopped after 200 commits: lines older than 61ef4c0 point at it.

Walk the swarm take's pre-flight: Amp updated, Claude Code's updater off, pell's key, a fresh herdr sessionoscabrielbefore adoption61ef4c0

lines 1–27why, one step back
1import type {
2 AskId,3 CommitSha,4 LandedSha,5 ProjectName,6} from "@repo/protocol/ids";78import { ContractsClient } from "../surfaces.ts";9import { keys } from "./keys.ts";1011export const verdictAtom = (12 project: ProjectName,13 ask: AskId,14 head?: CommitSha15) =>16 ContractsClient.query(17 "verdict",18 head === undefined ? { ask, project } : { ask, head, project },19 { reactivityKeys: keys.ask(project, ask) }20 );2122export const landingAtom = (project: ProjectName, sha: LandedSha) =>23 ContractsClient.query(24 "landing",25 { project, sha },26 { reactivityKeys: keys.project(project) }27 );