Method
undoSession
(
sid: string,
body: UndoSessionRequest = { count: 1 },
)
Source from the content-addressed store, hash-verified
| 233 | ); |
| 234 | } |
| 235 | undoSession( |
| 236 | sid: string, |
| 237 | body: UndoSessionRequest = { count: 1 }, |
| 238 | ): Promise<UndoSessionResponse> { |
| 239 | return this.request( |
| 240 | 'POST', |
| 241 | `/sessions/${encodeURIComponent(sid)}:undo`, |
| 242 | body, |
| 243 | ); |
| 244 | } |
| 245 | archiveSession(sid: string): Promise<{ archived: true }> { |
| 246 | return this.request('POST', `/sessions/${encodeURIComponent(sid)}:archive`, {}); |
| 247 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected