Variable: COMMON_CONFIG_SCHEMA
const COMMON_CONFIG_SCHEMA: ZodObject<{
ackTimeoutMs: ConfigField<number>;
apiKey: ConfigField<string>;
backend: ConfigField<string>;
domain: ConfigField<number>;
socketConfig: ConfigField<{
transports: ("websocket" | "polling")[];
}>;
}, $strip>;
Defined in: packages/overcast-core/src/config-schema.ts:486
The OvercastConfig fields that mean the same thing on every chain, so
every layer schema can spread its shape in rather than restating them.
Three OvercastConfig fields are deliberately not here:
chainName, because which name a deployment is filed under is the host's decision (a preset's name, or the one an operator declared), not something read from a per-field source;privateKeyandowner, because their encoding is a per-chain fact —0x-hex on EVM, base58 on Solana — so each layer schema states its own and gets a parser that can actually reject a wrong-chain value;socketUrl, whose meaningful values include""(a same-origin proxy), and readConfig reads a blank string as "unset". A programmatic caller sets it directly.