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.

13 lines (12 loc) 619 B
import { PageItem } from '../../../rest-sdk/dto/page-item'; import { SdkItem } from '../../../rest-sdk/dto/sdk-item'; export declare const getFileSize: (item: SdkItem) => string; export declare const getExtension: (item: SdkItem) => any; export declare const getFileExtensionCssClass: (extension: string) => string; export declare const splitAt: (index: number, xs: string) => string[]; export declare const getPageQueryString: (page: PageItem) => string; export declare const getWhiteListSearchParams: (searchParams: { [key: string]: string; }, whitelistedQueryParams: string[]) => { [key: string]: string; };