github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/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  });