Commit Graph

3608 Commits

Author SHA1 Message Date
Zoe Roux 2fd6b85d7e Fix validation errors 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 3a7a12bfd3 Cleanup swagger examples 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 c263dd770e Ensure image ids are human readable 2025-01-10 12:16:32 +01:00
Zoe Roux 0b77072b04 Small cleanups 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 c8c6cccf6a Handle and test slug reconciliation & conflicts 2025-01-10 12:16:32 +01:00
Zoe Roux caa394e0da Create tests & cleanup for movies seeding 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 24035c15bf Add 200/201 handling on post /movies + doc 2025-01-10 12:16:32 +01:00
Zoe Roux 5d24dcafd5 Handle conflicts as updates 2025-01-10 12:16:32 +01:00
Zoe Roux cfe2cabfa4 wip: push movies could update items 2025-01-10 12:16:32 +01:00
Zoe Roux 55b3f1cc8c wip: upsert things 2025-01-10 12:16:32 +01:00
Zoe Roux 3d20f063e9 Create post /videos route 2025-01-10 12:16:32 +01:00
Zoe Roux c20aa862a9 Move video slug to jointure 2025-01-10 12:16:32 +01:00
Zoe Roux 92ee0b2e7f wip: Allow videos to be joined on a post /movies 2025-01-10 12:16:32 +01:00
Zoe Roux 8253554304 Add many-to-many jointure between entries & videos 2025-01-10 12:16:32 +01:00
Zoe Roux 31b7c0e035 Move seed function to separate file 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 b63391d744 Cleanup schemas 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 b8b536632d Swagger setup 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 7ca441aaae Disable ts truncations 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 02ebb6b3f6 Add guesses in video db schema 2025-01-10 12:16:32 +01:00
Zoe Roux d6cae5ace1 Small cleanups 2025-01-10 12:16:32 +01:00
Zoe Roux 47729d8373 Set order type to float 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 4a9a768488 Add demmy season controller 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 34e145ab23 Add seasons in db 2025-01-10 12:16:31 +01:00
Zoe Roux ffa42de4f3 Cleanup external id types in db 2025-01-10 12:16:31 +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