HarnessSnapshotSession
Generated by TypeDoc. Do not edit this page directly.
Interface: HarnessSnapshotSession
Section titled “Interface: HarnessSnapshotSession”Defined in: packages/core/src/runtime/types/snapshots.ts:37
Extends
Section titled “Extends”Methods
Section titled “Methods”create()
Section titled “create()”create(input?): Promise<HarnessSnapshot>;Defined in: packages/core/src/runtime/types/snapshots.ts:34
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input? | HarnessSnapshotInput |
Returns
Section titled “Returns”Promise<HarnessSnapshot>
Inherited from
Section titled “Inherited from”delete()
Section titled “delete()”delete(id): Promise<boolean>;Defined in: packages/core/src/runtime/types/snapshots.ts:41
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
id | string |
Returns
Section titled “Returns”Promise<boolean>
get(id): HarnessSnapshot | undefined;Defined in: packages/core/src/runtime/types/snapshots.ts:39
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
id | string |
Returns
Section titled “Returns”HarnessSnapshot | undefined
list()
Section titled “list()”list(): HarnessSnapshotSummary[];Defined in: packages/core/src/runtime/types/snapshots.ts:38
Returns
Section titled “Returns”restore()
Section titled “restore()”restore(id): Promise<HarnessSnapshot>;Defined in: packages/core/src/runtime/types/snapshots.ts:40
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
id | string |
Returns
Section titled “Returns”Promise<HarnessSnapshot>