So I wanted to generate types for the project using "appwrite types types".
Expected outcome- generate ts type with the types. Got outcome-
appwrite types types ℹ Info: Detected language: ts ℹ Info: Directory: types does not exist, creating... ℹ Info: Found 10 tables: blog category, blog, learningHubTypes, learningHubs, collaborations, calendar_events, collaboration_requests, partners_logo, partners_value_props, partnership_steps ℹ Info: Found 81 columns across all tables ℹ Info: For detailed error pass the --verbose or --report flag ✗ Error: ejs:24 22| <% const propertyName = strict ? toCamelCase(attribute.key) : attribute.key; -%> 23| <% const isValidIdentifier = /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(propertyName); -%>
24| <% if (isValidIdentifier) { %><%- propertyName %><% } else { %>"<%- propertyName %>"<% } %>: <%- getType(attribute, collections, collection.name) %>; 25| <% } -%> 26| }<% if (index < collections.length - 1) { %> 27| <% } %>
Related collection with ID 'undefined' not found.
https://github.com/appwrite/appwrite/issues/10597
This is related issue I found on github, still open and isnt resolved
Recommended threads
- Deploying to Sites will not work. NextJS
It’s been many times I have attempted to deploy to Appwrite and it’s always failed. The deployment itself works, the logs show it works perfectly, however when ...
- Team Preferences Invisible on Console
Hello, I got the problem that team preferences are not visible within the Appwrite console. I did an API request to verify that there are preferences set and on...
- custom domain on cloudflair was verified...
I've added the credentials as instructed by the appwrite documentation, with cname set to dns only without proxy, and it successfully validated my domain, and w...