Files
threshold-ui/addons/api/addon/models/worker.js
T
Zhihe Li a84e8c693e feat: 🎸 Add worker model (#1213)
✅ Closes: ICU-5239
2022-07-28 14:33:23 -04:00

28 lines
707 B
JavaScript

import GeneratedWorkerModel from '../generated/models/worker';
import { fragment } from 'ember-data-model-fragments/attributes';
export default class WorkerModel extends GeneratedWorkerModel {
// =attributes
/**
* @type {[FragmentTagModel]}
*/
@fragment('fragment-tag', {
description:
'The deduplicated union of the tags reported by the worker ' +
'from its configuration and any tags added through other means.\nOutput only.',
readOnly: true,
})
canonical_tags;
/**
* @type {[FragmentTagModel]}
*/
@fragment('fragment-tag', {
description:
"The tags set in the worker's configuration file.\nOutput only.",
readOnly: true,
})
config_tags;
}