( opts: SessionChatStoreOptions, designId: string, id: string, )
| 430 | } |
| 431 | |
| 432 | export function removeSessionComment( |
| 433 | opts: SessionChatStoreOptions, |
| 434 | designId: string, |
| 435 | id: string, |
| 436 | ): boolean { |
| 437 | const exists = listSessionComments(opts, designId).some((row) => row.id === id); |
| 438 | if (!exists) return false; |
| 439 | appendCommentEvent(opts, designId, { schemaVersion: 1, action: 'remove', id }); |
| 440 | return true; |
| 441 | } |
| 442 | |
| 443 | export function markSessionCommentsApplied( |
| 444 | opts: SessionChatStoreOptions, |
no test coverage detected