@chive/web
Chive Frontend Library
Remarks
This module exports all frontend utilities, hooks, and API clients for the Chive preprint server web application.
References
generateRkey
Re-exports generateRkey
Classes
- APIError
- AuthenticationError
- AuthorizationError
- ChiveError
- NetworkError
- NotFoundError
- RateLimitError
- ValidationError
Interfaces
- Activity
- ActivityFeedOptions
- ActorSuggestion
- AffiliationSuggestion
- AuthActions
- AuthContextValue
- AuthorIdMatch
- AuthSession
- AuthState
- AutocompleteSuggestion
- Backlink
- BacklinkCounts
- BlueskyFacet
- BlueskyPostRecord
- BlueskyRateLimitInfo
- ChiveUser
- CreateBlueskyPostInput
- CreateBlueskyPostResult
- CreateRecordResult
- ExternalEmbed
- ExternalPreprint
- ExternalPreprintAuthor
- FieldProposalRecord
- KeywordSuggestion
- LogActivityInput
- LoginOptions
- MarkFailedInput
- OAuthCallbackParams
- OrcidSuggestion
- PreprintRecord
- ShareContent
- TokenResponse
- UploadBlobResult
- VoteRecord
Type Aliases
- ActivityAction
- ActivityCategory
- ActivityStatus
- ApiResponse
- AuthorRef
- BacklinkSourceType
- BlueskyFacetFeature
- CreateFieldProposalFormData
- DeprecateFieldProposalFormData
- DID
- Evidence
- ExternalIdentifier
- ExternalLink
- ExternalMapping
- ExternalProfile
- FacetValue
- FieldNodeRef
- FieldProposal
- FundingSource
- Handle
- ImportSource
- MergeFieldProposalFormData
- ModifyFieldProposalFormData
- PreprintFormData
- PreprintSubmission
- RecommendedPreprint
- ReconciliationStatus
- Reference
- RelatedPreprint
- ShareableContentType
- StepAuthorsData
- StepFieldsData
- StepFilesData
- StepMetadataData
- SuggestedPaper
- SuggestionsProfileMetadata
- SupplementaryBlob
- VersionRef
- Vote
- VoteFormData
Variables
- activityKeys
- ALL_FACET_TYPES
- api
- authApi
- authorKeys
- authorRefSchema
- backlinkKeys
- claimingKeys
- COLLECTIONS
- createFieldProposalFormSchema
- deprecateFieldProposalFormSchema
- discoveryKeys
- endorsementKeys
- EVIDENCE_TYPES
- evidenceSchema
- EXTERNAL_LINK_TYPES
- EXTERNAL_MAPPING_SOURCES
- externalIdentifierSchema
- externalLinkSchema
- externalMappingSchema
- externalProfileSchema
- facetedSearchKeys
- facetValueSchema
- FAST_FACET_TYPES
- FIELD_TYPES
- fieldKeys
- fieldNodeRefSchema
- fieldProposalSchema
- fundingSourceSchema
- MAX_PDF_SIZE_BYTES
- MAX_SUPPLEMENTARY_SIZE_BYTES
- mergeFieldProposalFormSchema
- modifyFieldProposalFormSchema
- PMEST_DIMENSIONS
- preprintFormDataSchema
- preprintKeys
- preprintSearchKeys
- preprintSubmissionSchema
- profileAutocompleteKeys
- PROPOSAL_TYPES
- reconciliationStatusSchema
- referenceSchema
- RELATIONSHIP_TYPES
- reviewKeys
- searchKeys
- stepAuthorsSchema
- stepFieldsSchema
- stepFilesSchema
- stepMetadataSchema
- SUPPLEMENTARY_TYPES
- supplementaryBlobSchema
- SUPPORTED_LICENSES
- tagKeys
- trendingKeys
- versionRefSchema
- VOTE_VALUES
- voteFormSchema
- VOTER_ROLES
- voteSchema
Functions
- addFacetValue
- AuthContext
- AuthProvider
- buildAtUri
- buildBlueskyPostUrl
- clearAllFilters
- clearDimensionFilters
- cn
- countGraphemes
- countTotalFilters
- createBlueskyPost
- createFieldProposalRecord
- createPreprintRecord
- createServerClient
- createVoteRecord
- deleteRecord
- extractWikidataId
- fastUrl
- fetchOgImageBlob
- formatOrcidUrl
- getAuthenticatedDid
- getCurrentAgent
- getCurrentSession
- getOAuthClient
- getQueryClient
- getSourceTypeLabel
- groupBacklinksBySource
- hasOrcid
- initializeOAuth
- isAgentAuthenticated
- isFacetSelected
- isValidAtUri
- isValidFastId
- isValidOrcid
- isValidWikidataId
- logout
- makeQueryClient
- markPreprintViewStart
- normalizeOrcid
- parseAtUri
- removeFacetValue
- resolveHandle
- restoreSession
- startLogin
- toggleFacetValue
- uploadBlob
- uploadPdfDocument
- useActivityFeed
- useActivityLogging
- useAffiliationAutocomplete
- useAgent
- useApproveClaim
- useAuth
- useAuthor
- useAuthorIdDiscovery
- useAuthorMetrics
- useAuthorProfile
- useAuthorReviews
- useAutocomplete
- useBacklinkCounts
- useBacklinks
- useCitations
- useClaim
- useClaimablePreprints
- useCollectEvidence
- useCompleteClaim
- useCreateEndorsement
- useCreateReview
- useCreateTag
- useCurrentUser
- useDebounce
- useDeleteEndorsement
- useDeleteReview
- useDeleteTag
- useEndorsements
- useEndorsementSummary
- useEnrichment
- useFacetCounts
- useFacetedSearch
- useField
- useFieldChildren
- useFieldPreprints
- useFields
- useForYouFeed
- useInlineReviews
- useInstantSearch
- useIsAuthenticated
- useKeywordAutocomplete
- useLiveFacetedSearch
- useLogActivity
- useMarkActivityFailed
- useMentionAutocomplete
- useOrcidAutocomplete
- usePaperSuggestions
- usePendingClaims
- usePrefetchAuthor
- usePrefetchEndorsements
- usePrefetchField
- usePrefetchPreprint
- usePrefetchReviews
- usePrefetchSimilarPapers
- usePrefetchTags
- usePreprint
- usePreprints
- usePreprintsByAuthor
- usePreprintSearch
- usePreprintSearchState
- usePreprintTags
- useRecordInteraction
- useRejectClaim
- useReviews
- useReviewThread
- useSearch
- useSearchTracking
- useShareToBluesky
- useSimilarPapers
- useStartClaim
- useStartClaimFromExternal
- useTagDetail
- useTagSearch
- useTagSuggestions
- useTrending
- useTrendingTags
- useUserClaims
- useUserEndorsement
- validatePostLength
- wikidataUrl