InteractionService Service
File: src/services/InteractionService.ts
Overview
Exports
- FollowResult - interface export
- RelationshipInfo - interface export
- InteractionService - class export
- interactionService - const export
Classes
InteractionService
No description available.
Methods:
getInstancetoggleFollowcatchacceptFollowRequestrejectFollowRequesttoggleBlocktoggleMutetoggledgetUserRelationshipsgetFollowersgetFollowinggetFollowRequestsgetCurrentUserProfileIdcreateError
Properties:
instancePRESERVESSimplifiedvalidationdataprofileIdautomaticallyresulterrorblockingmutingRelationshipInforelationshipsuserIdoptionslimitoffsetfollowershasMoretotalfollowingSimplemoredomainascendingprofileidusernamedisplay_nameavatar_urlis_localhandlecleanbiobanner_urlstatuscoloris_adminfederated_idap_idfollowers_countfollowing_countposts_countcreated_atupdated_atProfileefficientlycountrequestsfollowerformattransformedRequeststransformedResultOPTIMIZEDmessagecodedetails
Interfaces
FollowResult
No description available.
typescript
interface FollowResult {
following: boolean
pending?: boolean
followCount?: number
}RelationshipInfo
No description available.
typescript
interface RelationshipInfo {
following: boolean
followedBy: boolean
blocking: boolean
muting: boolean
followingPending: boolean
followedByPending: boolean
}Source Code Insights
File Size: 13188 characters Lines of Code: 412 Imports: 4
Usage Example
typescript
import { FollowResult, RelationshipInfo, InteractionService, interactionService } from '@/services/InteractionService'
// Example usage
// Use the exported functionalityThis documentation was automatically generated from the source code.
