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

12 lines
253 B
JavaScript
Raw Normal View History

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