Add wrap manager for tracking gift wraps

This commit is contained in:
Jon Staab
2025-10-17 12:42:29 -07:00
parent ca38cbe20b
commit 247c7bafeb
27 changed files with 406 additions and 319 deletions
+3 -4
View File
@@ -1,14 +1,13 @@
import {throttle} from "@welshman/lib"
import {Repository, LocalRelay} from "@welshman/relay"
import {Repository, LocalRelay, Tracker} from "@welshman/relay"
import {custom} from "@welshman/store"
import {Tracker} from "@welshman/net"
export const tracker = new Tracker()
export const repository = Repository.get()
export const relay = new LocalRelay(repository)
export const tracker = new Tracker()
// Adapt objects to stores
export const makeRepositoryStore = ({throttle: t = 300}: {throttle?: number} = {}) =>