Generated Files API Reference
Complete API documentation for every generated function in swoff/.
API documentation for all generated functions in swoff/. Files are generated based on swoff.config.json — see CLI Reference for generation commands and Config Reference for the full schema.
fetch/core
fetchWithCache, prefetchCache — unified fetch with caching, auth, offline queue.
cache
Cache invalidation and tag generation utilities.
mutation
Offline write queue, state tracking, background sync.
auth
Auth provider bridge, token persistence, state detection.
connectivity
Online/offline detection, heartbeat monitoring, storage estimation.
server-push
SSE/WebSocket real-time cache invalidation.
graphql
GraphQL wrapper with body-hash caching.
pwa
PWA install prompt handling.
push-notification
Push subscription management.
reset
Nuclear reset for the entire Swoff system.
storage
Storage estimation and quota monitoring.