(value: unknown, source: string)
| 550 | } |
| 551 | |
| 552 | export function parsePlanValue(value: unknown, source: string): Plan { |
| 553 | return parseUnknownWithSchema({ |
| 554 | schema: PlanSchema, |
| 555 | value, |
| 556 | source, |
| 557 | recoveryHint: "Fix the offending fields before running orchestrate again.", |
| 558 | rejectDeletedTrackerFields: true, |
| 559 | }); |
| 560 | } |
| 561 | |
| 562 | export function parsePlanTaskJson(text: string, source: string): PlanTask { |
| 563 | return parseJsonWithSchema({ |
no test coverage detected