ReferenceContracts & Diagnostics
ShardwireAppManifest
Normalized manifest returned by defineShardwireApp (same fields, `name` always resolved). *
interface exported from src/discord/types.ts.
Summary
Normalized manifest returned by defineShardwireApp (same fields, name always resolved). *
Signature
export interface ShardwireAppManifest {
readonly name: string;
readonly events: readonly BotEventName[];
readonly actions: readonly BotActionName[];
readonly filters?: Partial<Record<BotEventName, readonly ShardwireSubscriptionFilterKey[]>>;
}Structure
Related Guides
ShardwireAppDiagnosisSeverity
Reference for `ShardwireAppDiagnosisSeverity`, exported as part of the public Shardwire surface.
ShardwireAppManifestDefinition
Input to defineShardwireApp. **Keep this surface small** — only what the app needs from the bridge and which subscription filter keys it may use. Put transport, secrets, bot intents, strict startup, and other policy in `connectBotBridge` / `createBotBridge` / `app.ready` / env instead of growing the manifest into a config object.