help passing a file ID from frontend to backend

Hm let's see!

How do you import getFileContentFn in your jsx file?

What does your definition of getFileContent query look like in main.wasp?

What is the type of this file.ID, is that a string?
Was this page helpful?