export interface GetSqlContractResponse { /** * The configured store backend: "postgres", "embedded", or "memory". Only * "postgres" supports ctx.transaction() at all — the SDK must refuse * loudly ("Postgres tier only") for any other value. */ 'store_kind'?: (string); /** * Advertised step-checkpoint contract version. Zero means deliberately * disabled and MUST make a configured transactional-step worker refuse * startup. Positive versions refer to a versioned server contract. The SDK carries a matching * versioned INSERT statement for every version it supports; a worker * whose highest supported version is below this number has a stale SQL * contract and must fail loudly at startup rather than attempt a * best-effort write against a schema it doesn't fully understand. */ 'contract_version'?: (number); /** * sha256 hex digest of the store's Postgres connection target * (host:port/dbname — credentials excluded) when store_kind == "postgres"; * empty otherwise. The SDK hashes its OWN configured user-database target * the same way and compares: equal digests mean "same database" (the * in-transaction checkpoint write is safe); unequal means the user's * database is NOT the memoflow store, and ctx.transaction() must refuse * by default (or degrade per explicit config — never silently claim * exactly-once across two different databases). */ 'postgres_target_fingerprint'?: (string); } export interface GetSqlContractResponse__Output { /** * The configured store backend: "postgres", "embedded", or "memory". Only * "postgres" supports ctx.transaction() at all — the SDK must refuse * loudly ("Postgres tier only") for any other value. */ 'store_kind': (string); /** * Advertised step-checkpoint contract version. Zero means deliberately * disabled and MUST make a configured transactional-step worker refuse * startup. Positive versions refer to a versioned server contract. The SDK carries a matching * versioned INSERT statement for every version it supports; a worker * whose highest supported version is below this number has a stale SQL * contract and must fail loudly at startup rather than attempt a * best-effort write against a schema it doesn't fully understand. */ 'contract_version': (number); /** * sha256 hex digest of the store's Postgres connection target * (host:port/dbname — credentials excluded) when store_kind == "postgres"; * empty otherwise. The SDK hashes its OWN configured user-database target * the same way and compares: equal digests mean "same database" (the * in-transaction checkpoint write is safe); unequal means the user's * database is NOT the memoflow store, and ctx.transaction() must refuse * by default (or degrade per explicit config — never silently claim * exactly-once across two different databases). */ 'postgres_target_fingerprint': (string); }