Skip to main content

StaticHostActionId

type

The id of an action the host itself owns, for example `'clipboard.writeText'`. These are fixed by the host and fully typed: their input and result shapes live in ModularActionMap. Discover them at runtime with `ctx.listActions()`.

type StaticHostActionId = keyof StaticHostActionMap & string

Import

import { StaticHostActionId } from '@modular/sdk';

Notes

category
Context