Skip to main content

Interface: FeedApiClientInterface

services/feed.FeedApiClientInterface

Methods

getExploreFeed

getExploreFeed(params?, config?): Promise<SCPaginatedResponse<SCFeedUnitType>>

Parameters

NameType
params?FeedParams
config?AxiosRequestConfig<any>

Returns

Promise<SCPaginatedResponse<SCFeedUnitType>>

Defined in

services/feed/index.ts:10


getMainFeed

getMainFeed(params?, config?): Promise<SCPaginatedResponse<SCFeedUnitType>>

Parameters

NameType
params?FeedParams
config?AxiosRequestConfig<any>

Returns

Promise<SCPaginatedResponse<SCFeedUnitType>>

Defined in

services/feed/index.ts:9


getMainFeedUnseenCount

getMainFeedUnseenCount(config?): Promise<SCFeedUnseenCountType>

Parameters

NameType
config?AxiosRequestConfig<any>

Returns

Promise<SCFeedUnseenCountType>

Defined in

services/feed/index.ts:11


likeFeedObjs

likeFeedObjs(object, config?): Promise<SCPaginatedResponse<SCFeedUnitType>>

Parameters

NameType
objectnumber[]
config?AxiosRequestConfig<any>

Returns

Promise<SCPaginatedResponse<SCFeedUnitType>>

Defined in

services/feed/index.ts:13


markReadASpecificFeedObj

markReadASpecificFeedObj(object, config?): Promise<any>

Parameters

NameType
objectnumber[]
config?AxiosRequestConfig<any>

Returns

Promise<any>

Defined in

services/feed/index.ts:12