‣
https://canary.warp-drive.io/guides/migrating/
resources as a directory name as it might be confusing with ember-resources and warp-drive's own resource meaning.At this time the codemod spawns multiple files in different locations i.e.
app/
│ # old
├── models/
│ └── user.js # Original EmberData model
│ # new
└── data/
├── resources/
│ ├── user.schema.js # Schema definition
│ └── user.schema.types.ts # Typescript interface
│
└── extensions/
└── user.js # Extension: Behavior - methods, getters
The original https://canary.warp-drive.io/guides/migrating/ examples mention such structure:
app/
└── data/
├── user/
│ ├── schema.ts
│ ├── type.ts
│ └── ext.ts
│ # Notice it's pure (no extension)
├── company/
│ ├── schema.ts
│ └── type.ts
│
├── project/
│ ├── schema.ts
│ ├── type.ts
│ └── ext.ts
│ # Extension
└── fileable/
├── schema.ts
├── type.ts
└── ext.ts