open-nomad/ui/app/models/service.js
2019-09-04 09:39:56 -05:00

11 lines
308 B
JavaScript

import attr from 'ember-data/attr';
import Fragment from 'ember-data-model-fragments/fragment';
import { fragment } from 'ember-data-model-fragments/attributes';
export default Fragment.extend({
name: attr('string'),
portLabel: attr('string'),
tags: attr(),
connect: fragment('consul-connect'),
});