Skip to main content

stateSchemaName

function

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

function stateSchemaName(declaration: StateDeclaration<unknown>): string

Import

import { stateSchemaName } from '@modular/sdk/state';

Notes

category
State