github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/ui/mirage/models/csi-volume.js (about)

     1  import { Model, belongsTo, hasMany } from 'ember-cli-mirage';
     2  
     3  export default Model.extend({
     4    plugin: belongsTo('csi-plugin'),
     5    writeAllocs: hasMany('allocation'),
     6    readAllocs: hasMany('allocation'),
     7    allocations: hasMany('allocation'),
     8  });