Skip to content

Commit

Permalink
Make the club for a review available
Browse files Browse the repository at this point in the history
Refs #76
  • Loading branch information
thewilkybarkid committed Jul 30, 2024
1 parent 76a1926 commit 5e35180
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/data/reviews.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const Reviews = Schema.Array(
}),
),
),
club: Schema.OptionFromUndefinedOr(Schema.String),
createdAt: Temporal.PlainDateFromStringSchema,
preprint: Doi.ParseDoiSchema,
language: Schema.OptionFromUndefinedOr(LanguageCode.LanguageCodeSchema),
Expand Down Expand Up @@ -89,6 +90,7 @@ const getLegacyRapidReviews = Effect.gen(function* () {
? { author: review.author.name, authorType: 'pseudonym' }
: { author: review.author.orcid, authorType: 'public' },
],
club: Option.none(),
createdAt: review.createdAt.toZonedDateTimeISO('UTC').toPlainDate(),
language: Option.some('en'),
preprint: review.preprint.handle,
Expand All @@ -113,6 +115,7 @@ const getLegacyReviews = Effect.gen(function* () {
? { author: author.name, authorType: 'pseudonym' }
: { author: author.orcid, authorType: 'public' },
),
club: Option.none(),
createdAt: review.createdAt.toZonedDateTimeISO('UTC').toPlainDate(),
language: Option.some('en'),
preprint: review.preprint.handle,
Expand Down

0 comments on commit 5e35180

Please sign in to comment.