Skip to main content

Interface: ImportedPreprint

Defined in: src/types/interfaces/plugin.interface.ts:1063

Imported preprint stored in AppView cache.

Remarks

This is ephemeral data stored in the AppView's database, NOT in a user's PDS. It can be rebuilt from the external source.

Since

0.1.0

Extends

Properties

abstract?

readonly optional abstract: string

Defined in: src/types/interfaces/plugin.interface.ts:1010

Abstract text (may be truncated).

Inherited from

ExternalPreprint.abstract


authors

readonly authors: readonly ExternalAuthor[]

Defined in: src/types/interfaces/plugin.interface.ts:1015

Author list.

Inherited from

ExternalPreprint.authors


canonicalUri?

readonly optional canonicalUri: string

Defined in: src/types/interfaces/plugin.interface.ts:1102

AT-URI of the canonical record (if claimed).


categories?

readonly optional categories: readonly string[]

Defined in: src/types/interfaces/plugin.interface.ts:1035

Subject categories/keywords from source.

Inherited from

ExternalPreprint.categories


claimedAt?

readonly optional claimedAt: Date

Defined in: src/types/interfaces/plugin.interface.ts:1112

When the preprint was claimed.


claimedByDid?

readonly optional claimedByDid: string

Defined in: src/types/interfaces/plugin.interface.ts:1107

DID of the user who claimed this preprint.


claimStatus

readonly claimStatus: "pending" | "unclaimed" | "claimed"

Defined in: src/types/interfaces/plugin.interface.ts:1097

Current claim status.


doi?

readonly optional doi: string

Defined in: src/types/interfaces/plugin.interface.ts:1025

DOI if assigned.

Inherited from

ExternalPreprint.doi


externalId

readonly externalId: string

Defined in: src/types/interfaces/plugin.interface.ts:995

Source-specific identifier.

Example

"2401.12345" (arXiv), "007123" (LingBuzz)

Inherited from

ExternalPreprint.externalId


id

readonly id: number

Defined in: src/types/interfaces/plugin.interface.ts:1067

Internal database ID.


importedAt

readonly importedAt: Date

Defined in: src/types/interfaces/plugin.interface.ts:1082

When the preprint was imported.


importedByPlugin

readonly importedByPlugin: string

Defined in: src/types/interfaces/plugin.interface.ts:1077

Plugin that performed the import.


lastSyncedAt?

readonly optional lastSyncedAt: Date

Defined in: src/types/interfaces/plugin.interface.ts:1087

Last synchronization with source.


license?

readonly optional license: string

Defined in: src/types/interfaces/plugin.interface.ts:1040

License identifier (SPDX).

Inherited from

ExternalPreprint.license


metadata?

readonly optional metadata: Record<string, unknown>

Defined in: src/types/interfaces/plugin.interface.ts:1050

Source-specific metadata not covered above.

Inherited from

ExternalPreprint.metadata


pdfUrl?

readonly optional pdfUrl: string

Defined in: src/types/interfaces/plugin.interface.ts:1030

URL to PDF (we never store the PDF itself, only the URL).

Inherited from

ExternalPreprint.pdfUrl


publicationDate?

readonly optional publicationDate: Date

Defined in: src/types/interfaces/plugin.interface.ts:1020

Publication or upload date.

Inherited from

ExternalPreprint.publicationDate


source

readonly source: string

Defined in: src/types/interfaces/plugin.interface.ts:1072

Source system identifier.


syncStatus

readonly syncStatus: "active" | "stale" | "unavailable"

Defined in: src/types/interfaces/plugin.interface.ts:1092

Sync status with external source.


title

readonly title: string

Defined in: src/types/interfaces/plugin.interface.ts:1005

Preprint title.

Inherited from

ExternalPreprint.title


url

readonly url: string

Defined in: src/types/interfaces/plugin.interface.ts:1000

Full URL to the original preprint.

Inherited from

ExternalPreprint.url


version?

readonly optional version: number

Defined in: src/types/interfaces/plugin.interface.ts:1045

Version number if the source tracks versions.

Inherited from

ExternalPreprint.version