Moderator
I'm using the node-appwrite SDK to create a table, the column payload looks like this:
[{"key":"email","type":"email","required":true, "size": 512}]But I'm getting the error Invalid type for attribute 'email': email
Checking the appwrite source code, I see this as supported types: https://github.com/appwrite/appwrite/blob/a6d30130ba04e436ec46b8de4138af523079a8a2/src/Appwrite/Utopia/Database/Validator/Attributes.php#L23-L32
If I try to string as type it creates the table as expected, do we have missing types or I'm doing something wrong?
The docs example do the same as I'm doing
https://appwrite.io/docs/products/databases/tables
node-appwrite SDK: v26.2.0