(apiKey, _ignored, trusted = true, sessionId)
| 285 | |
| 286 | // UpdateWorkspaceTrustRequest { metadata=1, workspace_trusted=2 }. No path — trust is global. |
| 287 | export function buildUpdateWorkspaceTrustRequest(apiKey, _ignored, trusted = true, sessionId) { |
| 288 | return Buffer.concat([ |
| 289 | writeMessageField(1, buildMetadata(apiKey, undefined, sessionId)), |
| 290 | writeBoolField(2, trusted), |
| 291 | ]); |
| 292 | } |
| 293 | |
| 294 | export function buildUpdatePanelStateWithUserStatusRequest(apiKey, sessionId, userStatusBytes) { |
| 295 | const parts = [ |
no test coverage detected