Skip to main content

ModularActionInput

type

The payload an action accepts, resolved from the reference you name.

type ModularActionInput<K extends ModularActionReference> = K extends StaticHostActionId ? StaticHostActionMap[K]['input'] : K extends CommandHostActionId | CommandId ? CommandInvokeInput : never

Import

import { ModularActionInput } from '@modular/sdk/view';

Notes

category
Context