(credentialId: string)
| 97 | * Get credential designs (certificate and badge images). |
| 98 | */ |
| 99 | export async function getCredentialDesigns(credentialId: string): Promise<CertifierDesign[]> { |
| 100 | const client = getClient(); |
| 101 | const response = await client.get<CertifierDesign[]>(`/credentials/${credentialId}/designs`); |
| 102 | return response.data; |
| 103 | } |
| 104 | |
| 105 | /** |
| 106 | * Get the badge image PNG URL for a credential. |
no test coverage detected