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

12 lines
242 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({
scope: belongsTo(),
accounts: hasMany('account'),
});