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

9 lines
245 B
JavaScript
Raw Normal View History

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