@vectorfyco/valbridge-zod-bridge
v1.1.0
Published
Workspace-local Zod bridge helpers for valbridge
Downloads
645
Maintainers
Readme
Shared bridge helpers for cross-language patterns that lack a native Zod equivalent.
Installation
npm install @vectorfyco/valbridge-zod-bridge
# or
pnpm add @vectorfyco/valbridge-zod-bridgePurpose
This package is intentionally small. It holds bridge-level helper types and constants shared across generated output and adapter code, without pulling in larger runtime dependencies.
import type { TemporalBridgeKind } from "@vectorfyco/valbridge-zod-bridge";
const mode: TemporalBridgeKind = "future";When bridge helpers are used
The valbridge fidelity system classifies every cross-language mapping. When a pattern is tagged bridge_helper, the generated code imports from this package instead of approximating behavior with a lossy native construct.
Examples: temporal past/future predicates, prefault default timing, XOR object semantics.
Related packages
| Package | Purpose |
| --- | --- |
| @vectorfyco/valbridge-zod | Zod adapter for code generation |
| valbridge-pydantic-bridge | Python equivalent for Pydantic |
