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';
2020-09-09 16:53:41 -04:00
export default Model.extend({
2020-09-30 10:45:39 -04:00
scope: belongsTo(),
2021-03-04 15:47:38 -05:00
accounts: hasMany('account'),
2020-09-09 16:53:41 -04:00
});