fastcomments-typescript
Advanced tools
Comparing version
{ | ||
"name": "fastcomments-typescript", | ||
"version": "1.6.23", | ||
"version": "1.6.24", | ||
"description": "Common FastComments TypeScript Types", | ||
@@ -5,0 +5,0 @@ "author": "winrid", |
@@ -89,2 +89,6 @@ import {Comment} from "./fast-comments-comment"; | ||
hasDarkBackground?: boolean | ||
/** List of moderation group ids that the resulting comments will be associated with. */ | ||
moderationGroupIds?: string[] | ||
/** The page we should render first when rendering the comments. Defaults to 0. -1 means to render all (up to 2k) comments. */ | ||
startingPage?: number | ||
/** Title of the page that the widget is on. */ | ||
@@ -160,2 +164,4 @@ pageTitle?: string | ||
onRender?: () => void, | ||
/** Invoked when library renders comments. **/ | ||
onCommentsRendered?: (Comment: []) => void, | ||
/** Invoked when the comment count changes. **/ | ||
@@ -191,2 +197,12 @@ commentCountUpdated?: (newCount: number) => void, | ||
enableInfiniteScrolling?: boolean | ||
/** For user activity feeds ONLY. Set tenantId to 'all' and ssoTenantId to your tenant id. **/ | ||
userId?: string | ||
/** For user activity feeds ONLY. **/ | ||
ssoTenantId?: string | ||
/** Jump/scroll to a given comment by id. **/ | ||
jumpToId?: string | ||
/** Custom API host. You probably want to use "region" instead. **/ | ||
apiHost?: string | ||
/** Custom translations. It's recommended you use the widget customization UI instead. If you really want to use this, probably check with support first. **/ | ||
translations?: Record<string, string> | ||
} |
export * from './api' | ||
export * from './constants' | ||
export { Comment } from './fast-comments-comment' | ||
export { FastCommentsCommentWidgetConfig, FastCommentsSSO } from './fast-comments-comment-widget-config' | ||
export { FastCommentsCommentCountConfig } from './fast-comments-comment-count-config' | ||
export { FastCommentsCollabChatWidgetConfig } from './fast-comments-collab-chat-widget-config' | ||
export { FastCommentsImageChatWidgetConfig } from './fast-comments-image-chat-widget-config' | ||
export { FastCommentsLiveChatWidgetConfig } from './fast-comments-live-chat-widget-config' | ||
export * from './fast-comments-comment' | ||
export * from './fast-comments-comment-widget-config' | ||
export * from './fast-comments-comment-count-config' | ||
export * from './fast-comments-collab-chat-widget-config' | ||
export * from './fast-comments-image-chat-widget-config' | ||
export * from './fast-comments-live-chat-widget-config' |
30320
2.43%657
2.5%