@ -15,9 +15,13 @@ export function capitalize(aString: string) {
}
export function decodeDataSource(encodedDataSource: string) {
if (encodedDataSource) {
return Buffer.from(encodedDataSource, 'hex').toString();
return undefined;
export function downloadAsFile({
content,
contentType = 'text/plain',