Conversation
VinBid
commented
Mar 3, 2025
- Created cloudinary implementation
- Needs more testing before pushing to prod
* Not confident in my typescript types.
brandonw504
left a comment
There was a problem hiding this comment.
Thanks for pushing your changes so far. Can you fix the linting errors to make sure it passes the development check? Also, I noticed you're using some utils like parseAndReplace or mongoClient that were in the CMS, but they're meant for use in MongoDB, and not for Postgres. Can you make sure everything is designed for the database we're using?
brandonw504
left a comment
There was a problem hiding this comment.
The changes to the CRUD operations for Media items don't seem correct, can you take a look at, for example, the User object, to see how the API should be structured? I also see that there's still some files leftover like mongoClient.mjs and the auth folder inside _types. Can you modify the CRUD operations for Media to match the other examples in the API?
brandonw504
left a comment
There was a problem hiding this comment.
For the API, you'll need to make the typedefs and resolvers in addition to the services, and also create the data model in our database. Make sure to test it on the GraphQL playground!