Skip to content

Commit

Permalink
fix: add submission methods back to journal (#1221)
Browse files Browse the repository at this point in the history
- they were removed inadvertently when we removed publisher
  • Loading branch information
jaredgalanis authored Oct 9, 2023
1 parent db170d3 commit 410d259
Showing 1 changed file with 17 additions and 1 deletion.
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

0 comments on commit 410d259

Please sign in to comment.