Files
threshold-ui/addons/api/mirage/models/host-set.js
T

14 lines
281 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
2023-01-09 08:48:49 -08:00
import { belongsTo, hasMany } from 'miragejs';
import Model from './base';
export default Model.extend({
2020-09-10 16:57:11 -04:00
scope: belongsTo(),
target: belongsTo(),
2020-08-19 18:38:18 -04:00
hostCatalog: belongsTo(),
2021-03-04 15:47:38 -05:00
hosts: hasMany(),
});