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

10 lines
261 B
JavaScript
Raw Normal View History

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