From 8a217a1b6a2bf7cfe70fcf04a5f9c6be0e43b9ad Mon Sep 17 00:00:00 2001 From: Martin Marosi Date: Thu, 28 Mar 2024 11:00:34 +0100 Subject: [PATCH 1/2] Add request PDF method to chrome API types --- packages/types/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/types/index.d.ts b/packages/types/index.d.ts index 34fc1ebba..8d582d217 100644 --- a/packages/types/index.d.ts +++ b/packages/types/index.d.ts @@ -233,6 +233,7 @@ export interface ChromeAPI { }) => T ) => T; enablePackagesDebug: () => void; + requestPdf: (options: { service: string; template: string; filename?: string; [key: string]: any }) => Promise; } declare global { From 686b189a033248bfc726d79573202b7bf3e28ea1 Mon Sep 17 00:00:00 2001 From: NachoBot Date: Thu, 28 Mar 2024 14:00:50 +0100 Subject: [PATCH 2/2] Updating @redhat-cloud-services/types to 1.0.7 --- packages/types/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/package.json b/packages/types/package.json index 9158462a1..c1f7d5faf 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,7 +1,7 @@ { "name": "@redhat-cloud-services/types", "description": "TypeScript definitions for @redhat-cloud-services common typings", - "version": "1.0.6", + "version": "1.0.7", "main": "", "types": "index.d.ts", "publishConfig": {