Skip to main content

Interface: SCFollowersManagerType

types/context.SCFollowersManagerType

Properties

emptyCache

Optional emptyCache: () => void

Type declaration

▸ (): void

Empty cache to revalidate all followers

Returns

void

Defined in

packages/react-core/src/types/context.ts:269


followers

followers: number[]

List of all user ids that follow the authenticated user

Defined in

packages/react-core/src/types/context.ts:249


isFollower

Optional isFollower: (user: SCUserType) => boolean

Type declaration

▸ (user): boolean

Handle check if a user is a followers, caching data

Parameters
NameType
userSCUserType
Returns

boolean

Defined in

packages/react-core/src/types/context.ts:264


isLoading

isLoading: (user: SCUserType) => boolean

Type declaration

▸ (user): boolean

List of current users in loading state

Parameters
NameType
userSCUserType
Returns

boolean

Defined in

packages/react-core/src/types/context.ts:259


loading

loading: number[]

List of all users in loading state

Defined in

packages/react-core/src/types/context.ts:254