MCPcopy Create free account
hub / github.com/TanStack/ai / createRegisteredEvent

Function createRegisteredEvent

packages/ai-devtools/tests/hook-registry.test.ts:516–530  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

514}
515
516function createRegisteredEvent(): HookRegisteredEvent {
517 return {
518 eventId: 'evt-registered',
519 timestamp: 1,
520 source: 'client',
521 visibility: 'client-state',
522 clientId: 'chat-1',
523 hookId: 'chat-1',
524 threadId: 'thread-1',
525 hookName: 'useChat',
526 framework: 'react',
527 outputKind: 'chat',
528 lifecycle: 'mounted',
529 }
530}
531
532function createSnapshotEvent(): HookStateSnapshotEvent {
533 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected