waldo-vision / waldo.footage.collection

Mozilla Public License 2.0
0 stars 1 forks source link

Use zod -- more migrations #13

Closed ceriddenn closed 2 years ago

ceriddenn commented 2 years ago

Added root/factories/fileStreamingFactoryEndpointsFactory.ts Migrated all clip endpoints to -> zod Created Zod Schemas and types for getFootage and getClips so the api can return a response of an array of objects instead of just a object. Updated router files to zod routing methods Updated index.ts to use zod server and to combine both router files into one main APIRouter that the server can use fileStreamingEndpointsFactory is the custom endpoint for clip downloading, needs to be updated for the local server file structure but it works in a local vscode dir for now.

NOTICE: This is still rough, there still needs to be some changes but the endpoints function as they should

Huskydog9988 commented 2 years ago

i don't think you mean to commit those video files. Do you mind deleting the commits and just resubmitting as one so we don't have 60 mb just in the history?