mirror of https://github.com/status-im/consul.git
15 lines
346 B
JavaScript
15 lines
346 B
JavaScript
import Model, { attr } from '@ember-data/model';
|
|
|
|
export const PRIMARY_KEY = 'uid';
|
|
export const SLUG_KEY = 'ServiceName';
|
|
|
|
export default class DiscoveryChain extends Model {
|
|
@attr('string') uid;
|
|
@attr('string') ServiceName;
|
|
|
|
@attr('string') Datacenter;
|
|
// FIXME: Does this need partition?
|
|
@attr() Chain; // {}
|
|
@attr() meta; // {}
|
|
}
|