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
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