Skip to content

Commit

Permalink
fix: certType typings
Browse files Browse the repository at this point in the history
  • Loading branch information
davej committed Nov 4, 2024
1 parent 1aaf2d8 commit 85f6ffb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,15 @@ export async function getSecret(secretName: string): Promise<string> {
return response.data;
}

export async function getCertBase64(certType: string): Promise<string> {
export async function getCertBase64(
certType:
| "mac"
| "windows"
| "macInstaller"
| "masDevelopment"
| "masDistribution"
| "masInstaller",
): Promise<string> {
const response = await axios.post("http://localhost:3000/getCert", {
certType,
});
Expand Down

0 comments on commit 85f6ffb

Please sign in to comment.