open-nomad/ui/mirage/models/csi-volume.js

8 lines
207 B
JavaScript

import { Model, belongsTo, hasMany } from 'ember-cli-mirage';
export default Model.extend({
plugin: belongsTo('csi-plugin'),
writeAllocs: hasMany('allocation'),
readAllocs: hasMany('allocation'),
});