| export function createInternalHookEventPayload( | |
| type: string, | |
| action: string, | |
| sessionKey: string, | |
| context: Record<string, unknown>, | |
| ) { | |
| return { | |
| type, | |
| action, | |
| sessionKey, | |
| context, | |
| timestamp: new Date(), | |
| messages: [], | |
| }; | |
| } | |
| export function createInternalHookEventPayload( | |
| type: string, | |
| action: string, | |
| sessionKey: string, | |
| context: Record<string, unknown>, | |
| ) { | |
| return { | |
| type, | |
| action, | |
| sessionKey, | |
| context, | |
| timestamp: new Date(), | |
| messages: [], | |
| }; | |
| } | |