@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
10 lines (9 loc) • 592 B
TypeScript
export declare function addUrlParameter(startUrl: string, name: string, value: string): string;
export declare function buildUrl(baseUrl: string, endpoint: string, endpointParams?: {
[name: string]: string;
}, queryParams?: {
[name: string]: string;
}): string;
export declare function shouldEncodeUrl(url: string): boolean;
export declare function getQueryParams(url: string): Record<string, string | number>;
export declare function queryParamsChanged(oldParams: Record<string, string | number>, newParams: Record<string, string | number>, ignoreKeys?: string[]): boolean;