Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add submission methods back to journal #1221

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion app/models/journal.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
/* eslint-disable ember/no-computed-properties-in-native-classes */
import Model, { attr, belongsTo } from '@ember-data/model';
import Model, { attr } from '@ember-data/model';
import { computed } from '@ember/object';

/**
* Publisher participation in NIH Public Access Program by sending final published article to PMC.
*
* Possible values:
* - A (Route A: journal automatically post paper to PMC)
* - B (Route B: authors must make special arrangements for some journals and publishers to post the paper directly to PMC)
* - C (Route C: authors or deignee must submit manuscripts to NIHMS)
* - D (Route D: some publishers will submit manuscripts to NIHMS)
*/
const PMCParticipation = {
A: 'A',
B: 'B',
C: 'C',
D: 'D',
};

export default class JournalModel extends Model {
/**
* Name of the journal (REQUIRED)
Expand Down