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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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'),
});