Rank 1: Thread
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.