github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/models/namespace.js (about)

     1  import { readOnly } from '@ember/object/computed';
     2  import Model from '@ember-data/model';
     3  import { attr } from '@ember-data/model';
     4  
     5  export default class Namespace extends Model {
     6    @readOnly('id') name;
     7    @attr('string') hash;
     8    @attr('string') description;
     9  }