@foundrynorth/compass-schema 1.0.22 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/schema.js CHANGED
@@ -6168,7 +6168,15 @@ export const semCampaigns = pgTable("sem_campaigns", {
6168
6168
  index("sem_campaigns_status_idx").on(table.status),
6169
6169
  ]);
6170
6170
  // =============================================================================
6171
- // COMPASS EVENT OUTBOX (dead-letter queue for fn-flux webhook events)
6171
+ // COMPASS EVENT OUTBOX (durable outbox for cross-system writes)
6172
+ //
6173
+ // Generic claim/retry/DLQ pattern used by multiple producers. Events are
6174
+ // namespaced by `eventType` prefix so multiple workers can drain the same
6175
+ // table without contention:
6176
+ // • "flux.*" — fn-flux webhook delivery to external consumers
6177
+ // • "hubspot.*" — HubSpot ticket / Campaign Task writes from fn-legacy
6178
+ // (drained by fn-v2 hubspot-outbox-worker)
6179
+ // Workers filter on `event_type LIKE '{namespace}.%'` in their claim query.
6172
6180
  // =============================================================================
6173
6181
  export const compassEventOutboxStatusEnum = pgEnum("compass_event_outbox_status", [
6174
6182
  "pending",