Skip to main content

Module responses

Module responses 

Source
Expand description

Typed envelopes for the stripe projects reads the driver depends on, replacing string-keyed serde_json::Value traversal.

Structs§

EnvRef
EnvWrapper
PreflightCheck
One row from a --preflight response (data.preflight or error.details.preflight).
PreflightReady
Successful --preflight payload (data when ok: true).
ProjectRef
ServiceRef
ServicesListResponse
stripe projects services list --json data.
StatusResponse
stripe projects status --json data.

Enums§

EnvCollection
EnvListResponse
stripe projects env list --json data. Tolerates the three shapes the CLI has emitted: {environments: {<name>: …}}, {environments: [{name}]}, and a bare [{name}] array. At 0.23.0 the canonical shape is the named map inside data.environments; older bare/list shapes are kept for fixture stability.

Functions§

preflight_checks_from_envelope
Extract preflight rows from a full {ok, data, error} envelope.
preflight_checks_from_parts
Extract preflight rows from already-parsed Stripe result parts.