UNPKG

@arc-publishing/sdk-identity

Version:
17 lines (16 loc) 580 B
import { APIErrorResponse } from '../serviceHelpers/APIErrorResponse'; export interface ConfigOptions { signupRecaptcha: boolean; signinRecaptcha: boolean; magicLinkRecaptcha: boolean; resetPasswordRecaptcha: boolean; googleClientId: string; facebookAppId: string; disqus?: { enabled: boolean; publicKey: string; }; } export declare function isConfigOptions(object: ConfigOptions | APIErrorResponse): object is ConfigOptions; export declare function getConfig(): Promise<ConfigOptions | APIErrorResponse>; export default getConfig;