Skip to main content

EventInput

interface

Fields accepted by event. `sensitivity` defaults to `private`. `stability` stays absent unless you set it, and readers resolve the effective value through eventStability.

interface EventInput<TPayload>

Import

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

Members6

[runtimeContractCompilerValue]optional
GeneratedRuntimeContract
[runtimeContractInput]optional
TPayload
id
string

Identifier, unique within the mod.

sensitivityoptional
'workspace' | 'private' | 'public' | 'secret'

How freely the host may share the payload. Defaults to `private`.

stabilityoptional
'internal' | 'experimental' | 'stable'

Compatibility promise you are making to subscribers.

titleoptional
string

Label shown where the host lists mod events.

Notes

category
State