Store the decision record of a project.
(project: string, content: string)
| 237 | |
| 238 | /** Store the decision record of a project. */ |
| 239 | async saveAdr(project: string, content: string): Promise<void> { |
| 240 | await this.request('POST', '/api/adr', { project, content }); |
| 241 | } |
| 242 | |
| 243 | /** The last `lines` lines of the server log. */ |
| 244 | async logs(lines: number, minLevel?: 'debug' | 'info' | 'warn' | 'error', project?: string, filters?: { scope?: 'unattributed'; query?: string }): Promise<LogTail> { |