decide.nolog.cz/app/models/selection.js
Jeldrik Hanschke 748b17e0ea
answers could be derived from answerType (#704)
* answers could be derived from answerType

* improve readability of API test data

* update API tests for removed answers property
2023-10-23 17:33:25 +02:00

18 lines
328 B
JavaScript

import classic from 'ember-classic-decorator';
import { attr } from '@ember-data/model';
import Fragment from 'ember-data-model-fragments/fragment';
@classic
export default class Answer extends Fragment {
@attr('string')
type;
@attr('string')
label;
@attr('string')
labelTranslation;
@attr('string')
icon;
}