mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-11 12:51:15 +02:00
Prepare Relay production infrastructure for the PlanetScale PS_20 HA topology, upgrade Effect and Alchemy to compatible betas, reconcile migration state, and preserve patched MCP session termination behavior.\n\nCo-authored-by: codex <codex@users.noreply.github.com>
12 lines
310 B
TypeScript
12 lines
310 B
TypeScript
import * as Effect from "effect/Effect"
|
|
import * as Schema from "effect/Schema"
|
|
|
|
class A extends Schema.Class<A>("A")({
|
|
a: Schema.String,
|
|
b: Schema.optional(Schema.FiniteFromString),
|
|
c: Schema.Array(Schema.String)
|
|
}) {}
|
|
|
|
Schema.decodeUnknownEffect(A)({ a: "a", b: 1, c: ["c"] }).pipe(
|
|
Effect.runFork
|
|
)
|