Skip to content

ZenFG TypeScript API / snapshot / root / FrameGraphSnapshotDecodeResult

Type Alias: FrameGraphSnapshotDecodeResult

FrameGraphSnapshotDecodeResult = { issues: readonly FrameGraphSnapshotIssue[]; migrated: boolean; ok: true; snapshot: FrameGraphSnapshot; source: "v1" | "legacy-v0" | "legacy-candidate-v1" | "snapshot-v1.1"; } | { issues: readonly FrameGraphSnapshotIssue[]; ok: false; }

Defined in: packages/snapshot/src/types.ts:387

Result of parsing or decoding untrusted snapshot input.

Successful legacy input has already been migrated and validated; failures carry issues and never expose a partially valid snapshot.

Open source / MIT licensed