HarnessSessionStorage
Generated by TypeDoc. Do not edit this page directly.
Abstract Class: HarnessSessionStorage
Section titled “Abstract Class: HarnessSessionStorage”Defined in: packages/core/src/runtime/storage.ts:143
Extended by
Section titled “Extended by”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new HarnessSessionStorage(): HarnessSessionStorage;Returns
Section titled “Returns”HarnessSessionStorage
Properties
Section titled “Properties”| Property | Modifier | Type | Defined in |
|---|---|---|---|
id | abstract | string | packages/core/src/runtime/storage.ts:144 |
label? | public | string | packages/core/src/runtime/storage.ts:145 |
Methods
Section titled “Methods”createRun()
Section titled “createRun()”abstract createRun(input): | StoredRunSummary| Promise<StoredRunSummary>;Defined in: packages/core/src/runtime/storage.ts:153
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | CreateStoredRunInput |
Returns
Section titled “Returns”| StoredRunSummary
| Promise<StoredRunSummary>
createSession()
Section titled “createSession()”abstract createSession(input): | HarnessSessionSummary| Promise<HarnessSessionSummary>;Defined in: packages/core/src/runtime/storage.ts:148
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | CreateStoredSessionInput |
Returns
Section titled “Returns”| HarnessSessionSummary
| Promise<HarnessSessionSummary>
deleteSession()
Section titled “deleteSession()”abstract deleteSession(sessionId): boolean | Promise<boolean>;Defined in: packages/core/src/runtime/storage.ts:152
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
sessionId | string |
Returns
Section titled “Returns”boolean | Promise<boolean>
getLatestRun()
Section titled “getLatestRun()”abstract getLatestRun(sessionId): | StoredRunSummary | Promise<StoredRunSummary | undefined> | undefined;Defined in: packages/core/src/runtime/storage.ts:154
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
sessionId | string |
Returns
Section titled “Returns”| StoredRunSummary
| Promise<StoredRunSummary | undefined>
| undefined
getSession()
Section titled “getSession()”abstract getSession(sessionId): | HarnessSessionSummary | Promise< | HarnessSessionSummary | undefined> | undefined;Defined in: packages/core/src/runtime/storage.ts:149
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
sessionId | string |
Returns
Section titled “Returns”| HarnessSessionSummary
| Promise<
| HarnessSessionSummary
| undefined>
| undefined
init()?
Section titled “init()?”optional init(): void | Promise<void>;Defined in: packages/core/src/runtime/storage.ts:147
Returns
Section titled “Returns”void | Promise<void>
listRuns()
Section titled “listRuns()”abstract listRuns(sessionId): | StoredRunSummary[]| Promise<StoredRunSummary[]>;Defined in: packages/core/src/runtime/storage.ts:155
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
sessionId | string |
Returns
Section titled “Returns”| StoredRunSummary[]
| Promise<StoredRunSummary[]>
listSessions()
Section titled “listSessions()”abstract listSessions(query?): | SessionListResult| Promise<SessionListResult>;Defined in: packages/core/src/runtime/storage.ts:150
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
query? | SessionListQuery |
Returns
Section titled “Returns”| SessionListResult
| Promise<SessionListResult>
openRun()
Section titled “openRun()”abstract openRun(input): | HarnessRunStore| Promise<HarnessRunStore>;Defined in: packages/core/src/runtime/storage.ts:156
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | OpenRunStoreInput |
Returns
Section titled “Returns”| HarnessRunStore
| Promise<HarnessRunStore>
touchSession()
Section titled “touchSession()”abstract touchSession(input): void | Promise<void>;Defined in: packages/core/src/runtime/storage.ts:151
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | TouchStoredSessionInput |
Returns
Section titled “Returns”void | Promise<void>