Skip to content

Commit

Permalink
Make request preprint server data available
Browse files Browse the repository at this point in the history
Refs #28
  • Loading branch information
thewilkybarkid committed Jul 3, 2024
1 parent e79ff4e commit ef7266d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/data/requests.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ import { Effect } from 'effect'
import * as Doi from '../lib/Doi.js'
import * as LanguageCode from '../lib/LanguageCode.js'
import { DomainIdSchema, FieldIdSchema, SubfieldIdSchema } from '../lib/OpenAlex.js'
import * as PreprintServer from '../lib/PreprintServer.js'
import * as Temporal from '../lib/Temporal.js'

const Requests = Schema.Array(
Schema.Struct({
timestamp: Temporal.InstantFromStringSchema,
preprint: Doi.DoiSchema,
server: Schema.optional(PreprintServer.PreprintServerSchema, { nullable: true }),
language: Schema.optional(LanguageCode.LanguageCodeSchema, { nullable: true }),
fields: Schema.Array(FieldIdSchema),
subfields: Schema.Array(SubfieldIdSchema),
Expand Down

0 comments on commit ef7266d

Please sign in to comment.