Skip to main content

eventSchemaName

function

Name of the generated payload contract behind a declaration. The host reads this when folding a mod's events into its manifest. Mod authors do not need it.

function eventSchemaName(modEvent: EventDeclaration<unknown>): string

Import

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