diff --git a/src/client/index.ts b/src/client/index.ts index 802b079..7abbc19 100644 --- a/src/client/index.ts +++ b/src/client/index.ts @@ -14,7 +14,15 @@ export async function getSecret(secretName: string): Promise { return response.data; } -export async function getCertBase64(certType: string): Promise { +export async function getCertBase64( + certType: + | "mac" + | "windows" + | "macInstaller" + | "masDevelopment" + | "masDistribution" + | "masInstaller", +): Promise { const response = await axios.post("http://localhost:3000/getCert", { certType, });