open-nomad/ui/app/models/namespace.js

10 lines
239 B
JavaScript
Raw Normal View History

import { readOnly } from '@ember/object/computed';
2017-10-07 01:27:36 +00:00
import Model from 'ember-data/model';
import attr from 'ember-data/attr';
export default Model.extend({
name: readOnly('id'),
2017-10-07 01:27:36 +00:00
hash: attr('string'),
description: attr('string'),
});