MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / buildImageUploadPath

Function buildImageUploadPath

apps/web/src/hooks/useImageUpload.ts:78–80  ·  view source on GitHub ↗
(messageUuid: string)

Source from the content-addressed store, hash-verified

76 return `Invalid file type: ${file.type}. Allowed: ${allowedTypes.join(', ')}`;
77 }
78 return null;
79}
80
81async function blobFromCanvas(
82 canvas: HTMLCanvasElement,
83 contentType: string,

Callers 2

useImageUploadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected