Does it is possible to use a variable of a store instead only a config?
Something like this:
let MyStore = new Store({...});
class Task extends Model {
static fields = [
'name',
// Store field
{ name : 'subTasks', type : 'store', store: MyStore }
];
}