@threadplane/chatTypeAliasv0.3.4

ViewRegistry

A registry of view components available for generative UI rendering. Each entry is either a bare component Type (legacy shape) or a RenderViewEntry { component, fallback? }.

import type { ViewRegistry } from '@threadplane/chat';

Declaration

export type ViewRegistry = Readonly<Record<string, Type<unknown> | RenderViewEntry>>;