← ClaudeAtlas

ember-data-warp-drivelisted

Deep WarpDrive (next-gen Ember Data) reference — Store, models, adapters, serializers, relationships, caching, pagination, and A3-specific data layer patterns
trusted-american/marketplace · ★ 0 · Data & Documents · score 69
Install: claude install-skill trusted-american/marketplace
# WarpDrive / Ember Data Reference ## Overview A3 uses WarpDrive, the next generation of Ember Data. With 823+ file imports, this is the single most-used package in the A3 codebase. It provides the entire data layer: identity map, caching, request lifecycle, relationships, serialization, and reactivity. Key packages: - `@warp-drive/core` — Core primitives (identifiers, request management, cache) - `@warp-drive/ember` — Ember integration (`<Request>` component, reactive documents) - `@warp-drive/json-api` — JSON:API cache implementation - `@warp-drive/legacy` — Legacy compatibility layer for classic Ember Data APIs - `@warp-drive/utilities` — Utility functions - `@ember-data/adapter` — Adapter interface (how data reaches the persistence layer) - `@ember-data/serializer` — Serializer interface (how raw payloads become normalized records) - `@ember-data/model` — Model class, `@attr`, `@belongsTo`, `@hasMany` - `@ember-data/graph` — Relationship graph (tracks all relationship state) - `@ember-data/store` — The Store service itself --- ## Store Service — Exhaustive API The Store is the central hub. Every record in the app flows through it. It acts as an identity map (one canonical instance per `type + id`), a request coordinator, and a cache gateway. ### A3's Extended Store ```typescript // app/services/store.ts import Store from '@ember-data/store'; import { service } from '@ember/service'; export default class StoreService extends Store { // Custom aggregation methods