Files
threshold-ui/addons/api/mirage/models/host-set.js
T
2024-05-31 11:29:24 -07:00

15 lines
282 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import { belongsTo, hasMany } from 'miragejs';
import Model from './base';
export default Model.extend({
scope: belongsTo(),
target: belongsTo(),
hostCatalog: belongsTo(),
hosts: hasMany(),
});