I've followed the docs and created the storage structure, the storage>resourse.ts, added it to backend.ts, I've also function permissions to it.
When I build I see the typescript type get added for functionName_BUCKET_NAME as it says in the docs but it dissapears.
How do I acess the bucked from the backend function? Also how can I fix that the type in type AmplifyBackendEnvVars is not appearing for the env var?