ComponentFunctions maps component/extension refs to their function signatures. Each key is a component ref ("namespace::name") and the value maps function names to their IDL-derived input/output shapes.
type TestFn = ComponentFunctions["ecommerce::order"]["test"]// → { input: { discount?: number; items: number[] }; output: { item_count?: number; total?: number } } Copy
type TestFn = ComponentFunctions["ecommerce::order"]["test"]// → { input: { discount?: number; items: number[] }; output: { item_count?: number; total?: number } }
ComponentFunctions maps component/extension refs to their function signatures. Each key is a component ref ("namespace::name") and the value maps function names to their IDL-derived input/output shapes.
Example