UNPKG

@progress/sitefinity-nextjs-sdk

Version:

Provides OOB widgets developed using the Next.js framework, which includes an abstraction layer for Sitefinity communication. Additionally, it offers an expanded API, typings, and tools for further development and integration.

23 lines (22 loc) 827 B
/** * Configuration service for Sitefinity Assistant widget * Provides access to environment variables and configuration settings */ export declare class SitefinityAssistantConfig { /** * Gets the CDN hostname for Sitefinity Assistant resources * @throws Error if SF_ASSISTANT_CDN_HOSTNAME environment variable is not configured */ static getCdnHostname(): string; /** * Generates a full CDN URL for a given filename * @param filename The filename to generate URL for * @param version Optional version parameter * @throws Error if SF_ASSISTANT_CDN_HOSTNAME is not configured */ static getCdnUrl(filename: string, version?: string): string; /** * Gets the chat service endpoint URL */ static getChatServiceUrl(assistantType: string | null): string; }