(value: unknown, path: string)
| 251 | } |
| 252 | |
| 253 | function parseCursorProtocolVersion(value: unknown, path: string): ReproParseResult<2> { |
| 254 | if (value !== 2) { |
| 255 | return fail("ZR_REPRO_INVALID_BUNDLE", path, "cursorProtocolVersion must be 2"); |
| 256 | } |
| 257 | return ok(value); |
| 258 | } |
| 259 | |
| 260 | function parseSchema(value: unknown): ReproParseResult<ReproBundleSchema> { |
| 261 | if (typeof value !== "string") { |
no test coverage detected