Upgrade Ember 4 Co-authored-by: Randall Morey <randall@randallmorey.com> Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
10 lines
203 B
JavaScript
10 lines
203 B
JavaScript
import { belongsTo, hasMany } from 'miragejs';
|
|
import Model from './base';
|
|
|
|
export default Model.extend({
|
|
scope: belongsTo(),
|
|
target: belongsTo(),
|
|
hostCatalog: belongsTo(),
|
|
hosts: hasMany(),
|
|
});
|