Commit Graph

3694 Commits

Author SHA1 Message Date
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
Zoe Roux 89952185a9 Cleanup video schema & add descrpitions of api fields 2025-01-10 12:16:31 +01:00
Zoe Roux 039c19f61c Create dummy video controller 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 3f97ba729d Fix entries fk and manually fix migrations 2025-01-10 12:16:31 +01:00
Zoe Roux 143ac6c721 Regenerate migrations 2025-01-10 12:16:31 +01:00
Zoe Roux 0759d6c2c4 Update schema for new drizzle version and fix some config issue 2025-01-10 12:16:31 +01:00
Zoe Roux e2e04b88f4 Upgrade packages 2025-01-10 12:16:31 +01:00
Zoe Roux d3fc3894bc Manually fix migrations and startup 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 a37c4fe723 Fix subquery handling of translations 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