A recent PR disabled strict mode, probably to get around some build errors. But when strict mode is disabled, Zod considers all content fields to be optional, causing even more build errors. This PR re-enables strict mode and adds some null checks in the VideoFilePicker to make TS happy.
Summary
A recent PR disabled strict mode, probably to get around some build errors. But when strict mode is disabled, Zod considers all content fields to be optional, causing even more build errors. This PR re-enables strict mode and adds some null checks in the
VideoFilePicker
to make TS happy.