activityPubService Service
File: src/services/activityPubService.ts
Overview
Exports
- ActivityPubService - class export
- activityPubService - const export
Classes
ActivityPubService
No description available.
Methods:
constructorgetInstancegetCachedProfilecacheProfileclearProfileCachegetTimelinegetPublicTimelinegetEnhancedPublicTimelinecatchgetFederatedTimelinegetLocalTimelinegetPostWithContextgetPostgetConversationThreadgetConversationContextgetConversationThreadLegacygetPostRepliesgetTrendingHashtagsgetTrendingPostsgetSuggestedUsersgetDiscoverableInstancesgetPostsByHashtaggetExploreContentsearchContentswitchsearchPostsgetInstanceStatsgetInstanceActivityupdateTrendingScoresgetUserPostsdeletePostfollowUserunfollowUsergetFollowersgetFollowingisFollowingtoggleFavoritefavoritePostunfavoritePosttoggleReblogreblogPostcreateQuoteReblogunreblogPosttoggleBookmarkbookmarkPostunbookmarkPostsearchUsersgetUserByHandle_fetchUserByHandleresolveUserByHandlefetchRemoteActorgetUserByIdgetUserTimelinegetUserHandlesearchFederatedUsersgetCurrentUserProfileIdgetCurrentAuthUsergetCurrentAuthUserIdformatUserHandleparseUserHandlegenerateActorUrlgeneratePostUrlgetPostInteractionStateupdatePostacceptFollowRequestrejectFollowRequestundoActivityjoinVoiceChannelleaveVoiceChannelupdateVoiceStatejoinFederatedServerleaveFederatedServercreateActivitygetUserActivityPubIdpostToActivityPubObjectgetPostAudienceformatPostContentcontentToHtmltransformDatabasePostToTimelinePostloadPostWithAuthor
Properties:
instancecurrentDomaininstanceUrlOPTIMIZATIONprofileCacheinFlightRequestsPROFILE_CACHE_TTLminutesstringentrynullnowprofiletimestampMANAGEMENTNOTEinsteadpoststimelineTypeoptionsOPTIMIZEDuserIdlimitqueryauthoris_localascendingerrorprofessionalTimelineOptionsmax_idinteractionsis_suspendedmy_interactionsusersis_bookmarkedis_favoritedis_rebloggedloadedstatesstatisticslocalCountfederatedCounttimelineaboutuserp_user_idp_limitp_max_idfilteringp_timeline_typeDEBUGWARNINGfederatedPostsiddomainmethodsscenariospostIdcontextmaxDepthincludeInteractionsp_context_typep_highlight_replyp_include_interactionsp_max_depthp_post_idmainPostancestorsdescendantsthreadInfototalPostsparticipantCountdepthrootPostIdlastActivityhighlightedPostcontextTypemethodresultcompatibilitypostin_conversation_idin_user_idroot_postreply_countparticipant_countlast_updatedthreadreply_contextpaginationdataformatrepliesMETHODShashtagsnumbertimeframeincludeLocalincludeFederatedfollowdiscoveryfiltersearchhashtagcursorhasMorecontentcontentTypetimeRangelanguageinstancesfediversetypedefaultsupabaseprofileErrorprofileIdsprofilesnextCursoractivityinfois_deleteddeleted_attriggersap_idfollower_idfollowing_idstatusmetadatafollowerfollowingFollowfollowersupdated_atonlyhandlefalseINTERACTIONSfavoritedinteractiongracefullyexistingErrorfavoriteuser_idpost_idinteraction_typePostInteractionfederationreblogrebloggedreblogPostIDprofileIdactualPostIdcreatedpostErrororiginalPostactualOriginalIdFallbackauthor_idvisibilityis_federatedconversation_idconversation_root_idcreated_atfavorites_countreblogs_countreplies_countmedia_attachmentscontent_warningis_sensitiveurlreblog_authorap_typereblog_oforiginal_authorcommentuserContentcontentWarningisSensitivequoteparsedContentquotePostin_reply_tois_quotebookmarkedbookmarkDISCOVERYp_queryhasDatadataLengthhasErrorerrlocallyforceRefreshcleanHandlecacheKeyisRemotecachedProfilerefreshinFlightrequestpromisefetchPromisetrackingusernamelookupexistfederation_metadatabiodisplay_nameFederatedUserremoteUserobjectpresentpartsavatar_urlbanner_urlverifiedfollowers_countfollowing_countposts_countfederated_id_keyinbox_urloutbox_urlfollowers_urlfollowing_urlfeatured_urllast_synced_atfetchremotelyactorexistsdocumentactorResponseheadersactorUrlpathPartsp_usernamep_display_namep_domainp_avatar_urlp_banner_urlp_biop_federated_idp_inbox_urlp_outbox_urlp_followers_urlp_following_urlp_public_keyfollowsacceptedFollowingIdspendingFollowingIdsallFollowingIdsorderingcurrentUserAuthContextServiceconsistentlyURLINTEGRATIONupdatesonPostCreateonPostUpdateonPostDeletechanneleventonInteractionCreateonInteractionDeleteonFollowCreateonFollowUpdateonFollowDeletestatetrueHANDLINGownershipupdateDatadatabaseactor_idtarget_idtarget_typeactivity_datapublishedtoccupdatedPostaccepted_atchannelIdmuteddeafenedvideo_enablednameservervoiceStatescreen_sharingspeakinginviteCodeinvitecodeHELPERretry_countproductionHelperattributedToupdatedsensitivesummaryattachmentinReplyToutilitybatchprocessedContentparsedtextinformation
Interfaces
ProfileCacheEntry
No description available.
typescript
interface ProfileCacheEntry {
profile: FederatedUser;
timestamp: number;
}InFlightRequest
No description available.
typescript
interface InFlightRequest {
promise: Promise<FederatedUser | null>;
}Source Code Insights
File Size: 88859 characters Lines of Code: 2846 Imports: 4
Usage Example
typescript
import { ActivityPubService, activityPubService } from '@/services/activityPubService'
// Example usage
// Use the exported functionalityThis documentation was automatically generated from the source code.
