Commit Graph

43 Commits

Author SHA1 Message Date
Zoe Roux 482ad0dda2 Move sort parsing to typebox 2025-01-10 12:16:32 +01:00
Zoe Roux 0499be4194 Fix comment newline handling 2025-01-10 12:16:32 +01:00
Zoe Roux 3d6912b60d Handle filter parsing with typebox 2025-01-10 12:16:32 +01:00
Zoe Roux c14d4e0911 Add filter to drizzle converter 2025-01-10 12:16:32 +01:00
Zoe Roux e960307172 Write filter grammar & fix priorities 2025-01-10 12:16:32 +01:00
Zoe Roux e20e327286 Filter fixes 2025-01-10 12:16:32 +01:00
Zoe Roux 81b7d5558e Finish filter parser 2025-01-10 12:16:32 +01:00
Zoe Roux df41694811 Start a filter parser 2025-01-10 12:16:32 +01:00
Zoe Roux 587dc4f970 Add get /movies & sort api 2025-01-10 12:16:32 +01:00
Zoe Roux a4853cb186 Test missing accept-language endpoint 2025-01-10 12:16:32 +01:00
Zoe Roux 43ae26679a Fix type issues on get /movies 2025-01-10 12:16:32 +01:00
Zoe Roux eea0f688a0 Make movie get work 2025-01-10 12:16:32 +01:00
Zoe Roux 9e1afca9ec Fix existing get movie & add test 2025-01-10 12:16:32 +01:00
Zoe Roux 0c0628529c Validate language tags 2025-01-10 12:16:32 +01:00
Zoe Roux cdceb1a734 Add proper error type & error handling 2025-01-10 12:16:32 +01:00
Zoe Roux 5e1e2fb6e2 Add tests setup for post /movies 2025-01-10 12:16:32 +01:00
Zoe Roux 55b3f1cc8c wip: upsert things 2025-01-10 12:16:32 +01:00
Zoe Roux 30d5d65755 Create movie seed route handler 2025-01-10 12:16:32 +01:00
Zoe Roux 1309749e46 Remove the option to create videos from post /movies 2025-01-10 12:16:32 +01:00
Zoe Roux b47c38ca76 Cleanup movie example in swagger 2025-01-10 12:16:32 +01:00
Zoe Roux 361c07ce53 Seed movie schema 2025-01-10 12:16:32 +01:00
Zoe Roux 0edf216618 Splt translations for seasons & series + seed setup 2025-01-10 12:16:32 +01:00
Zoe Roux 887431a335 Update movie example (still need seed image update) 2025-01-10 12:16:32 +01:00
Zoe Roux c5972bd15f Split translations for movies 2025-01-10 12:16:32 +01:00
Zoe Roux b0dac24eea Use kind guards in registerExamples 2025-01-10 12:16:32 +01:00
Zoe Roux cfe6ce9c7e Split entries & add translations types 2025-01-10 12:16:32 +01:00
Zoe Roux 97d9abca62 Add utils for validating slugs & languages 2025-01-10 12:16:32 +01:00
Zoe Roux 2a9ea5ecbf Add examples for series 2025-01-10 12:16:32 +01:00
Zoe Roux 0b0ae9abd3 Add season model 2025-01-10 12:16:32 +01:00
Zoe Roux ed19413576 Remove serieId & seasonId from entry response 2025-01-10 12:16:32 +01:00
Zoe Roux 84ce544f4d Add extra types (from #463). No backing store for now 2025-01-10 12:16:31 +01:00
Zoe Roux 29d11720a5 Add entries dummy controller & fix entries types 2025-01-10 12:16:31 +01:00
Zoe Roux 7071e07ef4 Define schema for all entries type 2025-01-10 12:16:31 +01:00
Zoe Roux eb2d2009f7 Movie utils models to directory 2025-01-10 12:16:31 +01:00
Zoe Roux c5a502ec32 Add serie model, dummy controller & example 2025-01-10 12:16:31 +01:00
Zoe Roux 89952185a9 Cleanup video schema & add descrpitions of api fields 2025-01-10 12:16:31 +01:00
Zoe Roux 372c1f6875 Cleanup example registration & add descriptions 2025-01-10 12:16:31 +01:00
Zoe Roux 8d01a87b6c wip: Add movie/video example 2025-01-10 12:16:31 +01:00
Zoe Roux 78e84cf960 Use string for date & datetime 2025-01-10 12:16:31 +01:00
Zoe Roux 4f74ffc5ce Add video migration & runtime field on shows 2025-01-10 12:16:31 +01:00
Zoe Roux f53e8e3611 Store image id instead of low/middle/high uri 2025-01-10 12:16:31 +01:00
Zoe Roux 00774230af Add video model 2025-01-10 12:16:31 +01:00
Zoe Roux 908e06c88f Create elysia schemas for movies 2025-01-10 12:16:31 +01:00