fastcomments-typescript
Advanced tools
Comparing version
{ | ||
"name": "fastcomments-typescript", | ||
"version": "1.6.21", | ||
"version": "1.6.22", | ||
"description": "Common FastComments TypeScript Types", | ||
@@ -5,0 +5,0 @@ "author": "winrid", |
@@ -62,2 +62,14 @@ import {Comment} from "./fast-comments-comment"; | ||
websiteUrl?: string | ||
/** For the below - define either the URL or Callback based parameters. **/ | ||
/** The logout URL for the user. If you define the SSO configuration, but not this or logoutCallback, the logout button won't be shown. */ | ||
logoutURL?: string | ||
/** The login URL for the user, which will show if they try to comment and they are not authenticated. */ | ||
loginURL?: string | ||
/** The logout callback for the user. If you define the SSO configuration, but not this or logoutURL, the logout link won't be shown. */ | ||
logoutCallback?: (instanceId: string) => void | ||
/** The login callback for the user. This will cause a button to show when they are unauthenticated. Upon clicking, this will be invoked. */ | ||
loginCallback?: (instanceId: string) => void | ||
} | ||
@@ -64,0 +76,0 @@ |
29292
2.66%638
1.43%