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

12 lines
240 B
JavaScript
Raw Normal View History

/**
2026-01-28 17:09:06 -08:00
* Copyright IBM Corp. 2021, 2026
* SPDX-License-Identifier: BUSL-1.1
*/
2023-01-09 08:48:49 -08:00
import { belongsTo, hasMany } from 'miragejs';
import Model from './base';
2020-09-01 12:03:36 -04:00
export default Model.extend({
scope: belongsTo(),
members: hasMany('user'),
2020-09-01 12:03:36 -04:00
});