-
Notifications
You must be signed in to change notification settings - Fork 749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more image info to DB #148
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
first round done
apps/designer/app/designer/features/sidebar-left/panels/image-upload.tsx
Outdated
Show resolved
Hide resolved
weird I have no errors locally |
Fixed by making sure we run generate on prisma |
turns out I didn't know zod remove the parts of the object that I didn't declare on the types and that's why I didn't have access to the size and function to turn the file into an array buffer |
We will not be downloading the image anymore, i send the array buffer over |
|
|
apps/designer/app/designer/features/sidebar-left/panels/image-upload.tsx
Show resolved
Hide resolved
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 see a few todos
it needed prisma migrate, which we currently don't run automatically, not sure what's the best practice when to run it |
Can this be merged? |
Related to #37
Adds: