github.com/outbrain/consul@v1.4.5/ui-v2/app/models/coordinate.js (about)

     1  import Model from 'ember-data/model';
     2  import attr from 'ember-data/attr';
     3  
     4  export const PRIMARY_KEY = 'uid';
     5  export const SLUG_KEY = 'Node';
     6  
     7  export default Model.extend({
     8    [PRIMARY_KEY]: attr('string'),
     9    [SLUG_KEY]: attr('string'),
    10    Coord: attr(),
    11    Segment: attr('string'),
    12    Datacenter: attr('string'),
    13  });