Skip to content

TIP

This page mirrors packages/app/README.md from the repository. Edit it at the source, not here.

@saasweave/app

Worker-safe application services shared by the API (inline fallback) and BullMQ processors in @saasweave/jobs.

Modules

SubpathPurpose
billing/plan-catalogCached plan catalog reads, planName / resolvePlanEntry
billing/compute-current-mrrMRR snapshot math for admin analytics and cron
stripe/webhook-applyIdempotent Stripe event application (DB side effects only)
stripe/webhook-processPer-customer ordering guard + queued payload parsing
data-export/*Workspace export bundle build, storage upload, processing
batch-jobs/processBatch item iteration and status updates
storage/*MinIO/files-sdk client, media asset persistence, lifecycle cleanup

Boundaries

  • No oRPC routers, no BullMQ worker registration, no queue dispatch imports (avoids cycles with jobs).
  • Notification/email side effects after exports or Stripe subscriptions are orchestrated in @saasweave/jobs.

Released under the MIT License.