ember-data-warp-drivelisted
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