From 3b8b0c6b0cc1b58cbe71951551ee48f991716c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ekrem=20Do=C4=9Fan?= Date: Tue, 19 Mar 2024 13:49:03 +0100 Subject: [PATCH] fix: expose createRUMURL function (#188) --- packages/spacecat-shared-rum-api-client/src/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/spacecat-shared-rum-api-client/src/index.d.ts b/packages/spacecat-shared-rum-api-client/src/index.d.ts index 1635b049..89a3ef7b 100644 --- a/packages/spacecat-shared-rum-api-client/src/index.d.ts +++ b/packages/spacecat-shared-rum-api-client/src/index.d.ts @@ -104,6 +104,14 @@ export default class RUMAPIClient { */ get404Sources(params?: RUMAPIOptions): Promise>; + /** + * Method to return the url composed of params that the RUM Dashboard API is called with. + * @param {RUMAPIOptions} params - An object representing the parameters to be included + * for the RUM Dashboard API call. + * @returns A string returning to the RUM Dashboard url including query parameters. + */ + createRUMURL(params?: RUMAPIOptions): string; + /** * Method to return the url composed of params that the 404 sources API is called with. * @param {RUMAPIOptions} params - An object representing the parameters to be included