(params: {
requestId: string
from: string
paneId?: string
backendType?: BackendType
})
| 787 | * Creates a shutdown approved message to send to the team leader |
| 788 | */ |
| 789 | export function createShutdownApprovedMessage(params: { |
| 790 | requestId: string |
| 791 | from: string |
| 792 | paneId?: string |
| 793 | backendType?: BackendType |
| 794 | }): ShutdownApprovedMessage { |
| 795 | return { |
| 796 | type: 'shutdown_approved', |
| 797 | requestId: params.requestId, |
| 798 | from: params.from, |
| 799 | timestamp: new Date().toISOString(), |
| 800 | paneId: params.paneId, |
| 801 | backendType: params.backendType, |
| 802 | } |
| 803 | } |
| 804 | |
| 805 | /** |
| 806 | * Creates a shutdown rejected message to send to the team leader |
no outgoing calls
no test coverage detected