@nhost/hasura-storage-js
Version:
Hasura-storage client
14 lines (13 loc) • 649 B
TypeScript
import { StorageImageTransformationParams } from '../types';
/**
* Appends image transformation parameters to the URL. If the URL already
* contains query parameters, the transformation parameters are appended to
* the existing query parameters.
*
* @internal
* @param url - The URL to append the transformation parameters to.
* @param params - The image transformation parameters.
* @returns The URL with the transformation parameters appended.
*/
export default function appendImageTransformationParameters(url: string, params?: StorageImageTransformationParams): string;
//# sourceMappingURL=appendImageTransformationParameters.d.ts.map