fix: make SCUM gift management gift-first
This commit is contained in:
@@ -85,11 +85,13 @@ type SCUMPlatformSurfaceKey = "players" | "vehicles" | "trajectories" | "vehicle
|
||||
|
||||
// Call budget per live-map load/15s refresh: 7 bounded plugin collections + 1 typed SCUM surface.
|
||||
// Squads and members load once per refresh; hovering, selecting and playback issue 0 API calls.
|
||||
// Call budget per gifts load/15s refresh: 5 bounded plugin collections + 1 typed SCUM surface.
|
||||
// Searching, viewing a definition and opening the editor issue 0 additional API calls.
|
||||
const pageCollections: Record<PageKey, PluginCollectionSurfaceKey[]> = {
|
||||
players: ["members", "activityEvents", "giftClaims", "pendingGifts", "giftDeliveries"],
|
||||
squads: ["squads", "members", "flags"],
|
||||
"live-map": ["mapPoints", "mapRegions", "mapSettings", "flags", "squads", "members", "tradeGoods"],
|
||||
gifts: ["gifts", "giftClaims", "pendingGifts", "giftDeliveries", "timedGiftEvents", "tradeGoods"],
|
||||
gifts: ["gifts", "giftClaims", "pendingGifts", "giftDeliveries", "timedGiftEvents"],
|
||||
workflows: ["events", "eventProduces", "eventRuns", "nativeEventRounds", "tasks", "activityEvents", "tradeGoods", "tradeEvents"]
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user