(snapshots: SandDance.types.Snapshot[], filename: string)
| 31 | } |
| 32 | |
| 33 | export function downloadSnapshotsJSON(snapshots: SandDance.types.Snapshot[], filename: string) { |
| 34 | //clean prior to exporting |
| 35 | const clean = cleanSnapshots(snapshots); |
| 36 | downloadData(JSON.stringify(clean, null, 2), filename); |
| 37 | } |
| 38 | |
| 39 | export function serializeSnapshot(snapshotWithImage: SandDance.types.Snapshot) { |
| 40 | const snapshot = util.clone(snapshotWithImage) as DataSourceSnapshot; |
no test coverage detected