ReferenceContracts & Diagnostics
CapabilityExplanationReasonCode
Reference for `CapabilityExplanationReasonCode`, exported as part of the public Shardwire surface.
type exported from src/discord/types.ts.
Summary
Reference for CapabilityExplanationReasonCode, exported as part of the public Shardwire surface.
Signature
export type CapabilityExplanationReasonCode = 'unknown_name' | 'not_negotiated' | 'allowed' | 'denied_by_bridge';Related Guides
CapabilityExplanationKind
Reference for `CapabilityExplanationKind`, exported as part of the public Shardwire surface.
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.