import { cell, computed, lift } from "commonfabric"; const stage = cell("initial"); const attemptCount = cell(0); const acceptedCount = cell(0); const rejectedCount = cell(0); // FIXTURE: computed-object-literal-input // Verifies: cell(), lift(), and computed() all get schemas injected from type annotations // cell("initial") → cell("initial", { type: "string" }) // lift((value: string) => value) → lift(inputSchema, outputSchema, fn) // computed(() => `...`) → captures lift outputs into lift(inputSchema, outputSchema, { ... }, fn) // Context: No export default; first export-relevant statement is the cells/lifts/computed at top level const normalizedStage = lift((value: string) => value)(stage); const attempts = lift((count: number) => count)(attemptCount); const accepted = lift((count: number) => count)(acceptedCount); const rejected = lift((count: number) => count)(rejectedCount); const _summary = computed(() => `stage:${normalizedStage} attempts:${attempts}` + ` accepted:${accepted} rejected:${rejected}` );