Interface: FeedApiClientInterface
services/feed.FeedApiClientInterface
Methods
getExploreFeed
▸ getExploreFeed(params?
, config?
): Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Parameters
Name | Type |
---|---|
params? | FeedParams |
config? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Defined in
getMainFeed
▸ getMainFeed(params?
, config?
): Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Parameters
Name | Type |
---|---|
params? | FeedParams |
config? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Defined in
getMainFeedUnseenCount
▸ getMainFeedUnseenCount(config?
): Promise
<SCFeedUnseenCountType
>
Parameters
Name | Type |
---|---|
config? | AxiosRequestConfig <any > |
Returns
Promise
<SCFeedUnseenCountType
>
Defined in
likeFeedObjs
▸ likeFeedObjs(object
, config?
): Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Parameters
Name | Type |
---|---|
object | number [] |
config? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Defined in
markReadASpecificFeedObj
▸ markReadASpecificFeedObj(object
, config?
): Promise
<any
>
Parameters
Name | Type |
---|---|
object | number [] |
config? | AxiosRequestConfig <any > |
Returns
Promise
<any
>