UNPKG

fastcomments-react-native-sdk

Version:

React Native FastComments Components. Add live commenting to any React Native application.

31 lines (29 loc) 1.04 kB
import { FastCommentsCommentWidgetConfig, FastCommentsWidgetComment } from "fastcomments-typescript"; import {CommonHTTPResponse} from "../../services/http"; import {FastCommentsSessionUser} from "../user"; import {UserPresencePollStateEnum} from "../fastcomments-state"; export interface GetCommentsResponse extends CommonHTTPResponse { commentCount?: number; comments?: FastCommentsWidgetComment[]; customConfig?: FastCommentsCommentWidgetConfig; hasBillingIssue?: boolean; includesPastPages?: boolean; isCommentsHidden?: boolean; isCrawler?: boolean; isDemo?: boolean; isProd?: boolean; isSiteAdmin?: boolean; isWhiteLabeled?: boolean; lastGenDate?: number; moderatingTenantIds?: string[]; moduleData?: object; notificationCount?: boolean; pageNumber?: number; tenantIdWS?: string; urlIdClean?: string; urlIdWS?: string; user?: FastCommentsSessionUser; userIdWS?: string; presencePollState?: UserPresencePollStateEnum; hasMore?: boolean; }