mirror of
https://github.com/stablyai/orca.git
synced 2026-09-27 08:02:35 +00:00
* refactor(cloud): share PostgreSQL schema startup between services * feat(cloud): add durable native push notification gateway * infra(push): define dedicated gateway resources and operational checks * fix(push): bound cross-host admission and simplify gateway configuration * fix(push): validate deploy configuration and preserve topic-error registrations
7 lines
317 B
TypeScript
7 lines
317 B
TypeScript
// What a provider send resolved to, before the send route maps it onto the
|
|
// contract's queued / dead / rate_limited / error statuses.
|
|
export type PushProviderOutcome =
|
|
| { status: 'sent' }
|
|
| { status: 'dead'; reason: string }
|
|
| { status: 'error'; reason: string; retryable?: boolean; retryAfterMs?: number }
|