MCPcopy Create free account
hub / github.com/Effect-TS/effect / conformanceSelect

Function conformanceSelect

packages/effect/src/chat/ChatTest.ts:1401–1406  ·  view source on GitHub ↗
(rule: string)

Source from the content-addressed store, hash-verified

1399const conformanceButton = (rule: string): ChatUi.Button => ({ _tag: "Button", id: "conformance", label: rule })
1400
1401const conformanceSelect = (rule: string): ChatUi.Select => ({
1402 _tag: "Select",
1403 id: "conformance",
1404 placeholder: rule,
1405 options: [{ label: "a", value: "a" }, { label: "b", value: "b" }]
1406})
1407
1408const describeExit = (exit: Exit.Exit<unknown, unknown>): string => {
1409 if (Exit.isSuccess(exit)) return "success"

Callers 3

openModalMethod · 0.85
probeMethod · 0.85
conformanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected