Skip to content

Commit

Permalink
Enable requests for Preprints.org preprint reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Jul 10, 2024
1 parent 73c84a9 commit 3641fa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/review-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type {
MedrxivPreprintId,
OsfPreprintsPreprintId,
PreprintId,
PreprintsorgPreprintId,
PsyarxivPreprintId,
ScieloPreprintId,
SocarxivPreprintId,
Expand All @@ -27,6 +28,7 @@ export type ReviewRequestPreprintId =
| EdarxivPreprintId
| MedrxivPreprintId
| OsfPreprintsPreprintId
| PreprintsorgPreprintId
| PsyarxivPreprintId
| ScieloPreprintId
| SocarxivPreprintId
Expand Down Expand Up @@ -114,6 +116,7 @@ export function isReviewRequestPreprintId(preprint: PreprintId): preprint is Rev
'edarxiv',
'medrxiv',
'osf-preprints',
'preprints.org',
'psyarxiv',
'scielo',
'socarxiv',
Expand Down
2 changes: 1 addition & 1 deletion test/fc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ export const reviewRequestPreprintId = (): fc.Arbitrary<ReviewRequestPreprintId>
edarxivPreprintId(),
medrxivPreprintId(),
osfPreprintsPreprintId(),
preprintsorgPreprintId(),
psyarxivPreprintId(),
scieloPreprintId(),
socarxivPreprintId(),
Expand All @@ -864,7 +865,6 @@ export const notAReviewRequestPreprintId = (): fc.Arbitrary<Exclude<PreprintId,
metaarxivPreprintId(),
osfPreprintId(),
philsciPreprintId(),
preprintsorgPreprintId(),
psychArchivesPreprintId(),
researchSquarePreprintId(),
scienceOpenPreprintId(),
Expand Down

0 comments on commit 3641fa9

Please sign in to comment.