SHARDWIRE
ReferenceContracts & Diagnostics

defineShardwireApp

Declares a minimal app contract: required **`events`** / **`actions`**, optional **`filters`** per event, optional **`name`**. Do not use this for transport, secrets, intents, or startup policy — keep those elsewhere.

function exported from src/dx/app-manifest.ts.

Summary

Declares a minimal app contract: required events / actions, optional filters per event, optional name. Do not use this for transport, secrets, intents, or startup policy — keep those elsewhere.

Signature

/**
 * Declares a minimal app contract: required **`events`** / **`actions`**, optional **`filters`** per event, optional **`name`**.
 * Do not use this for transport, secrets, intents, or startup policy — keep those elsewhere.
 *
 * @see https://shardwire.js.org/docs/reference/contracts-and-diagnostics/define-shardwire-app/
 */
export function defineShardwireApp(definition: ShardwireAppManifestDefinition): ShardwireAppManifest;

On this page