Commit Graph
3694 Commits
Author SHA1 Message Date
zoriya 24035c15bf Add 200/201 handling on post /movies + doc 2025-01-10 12:16:32 +01:00
zoriya 5d24dcafd5 Handle conflicts as updates 2025-01-10 12:16:32 +01:00
zoriya cfe2cabfa4 wip: push movies could update items 2025-01-10 12:16:32 +01:00
zoriya 55b3f1cc8c wip: upsert things 2025-01-10 12:16:32 +01:00
zoriya 3d20f063e9 Create post /videos route 2025-01-10 12:16:32 +01:00
zoriya c20aa862a9 Move video slug to jointure 2025-01-10 12:16:32 +01:00
zoriya 92ee0b2e7f wip: Allow videos to be joined on a post /movies 2025-01-10 12:16:32 +01:00
zoriya 8253554304 Add many-to-many jointure between entries & videos 2025-01-10 12:16:32 +01:00
zoriya 31b7c0e035 Move seed function to separate file 2025-01-10 12:16:32 +01:00
zoriya 30d5d65755 Create movie seed route handler 2025-01-10 12:16:32 +01:00
zoriya 1309749e46 Remove the option to create videos from post /movies 2025-01-10 12:16:32 +01:00
zoriya b63391d744 Cleanup schemas 2025-01-10 12:16:32 +01:00
zoriya b47c38ca76 Cleanup movie example in swagger 2025-01-10 12:16:32 +01:00
zoriya 361c07ce53 Seed movie schema 2025-01-10 12:16:32 +01:00
zoriya b8b536632d Swagger setup 2025-01-10 12:16:32 +01:00
zoriya 0edf216618 Splt translations for seasons & series + seed setup 2025-01-10 12:16:32 +01:00
zoriya 887431a335 Update movie example (still need seed image update) 2025-01-10 12:16:32 +01:00
zoriya 7ca441aaae Disable ts truncations 2025-01-10 12:16:32 +01:00
zoriya c5972bd15f Split translations for movies 2025-01-10 12:16:32 +01:00
zoriya b0dac24eea Use kind guards in registerExamples 2025-01-10 12:16:32 +01:00
zoriya cfe6ce9c7e Split entries & add translations types 2025-01-10 12:16:32 +01:00
zoriya 97d9abca62 Add utils for validating slugs & languages 2025-01-10 12:16:32 +01:00
zoriya 02ebb6b3f6 Add guesses in video db schema 2025-01-10 12:16:32 +01:00
zoriya d6cae5ace1 Small cleanups 2025-01-10 12:16:32 +01:00
zoriya 47729d8373 Set order type to float 2025-01-10 12:16:32 +01:00
zoriya 2a9ea5ecbf Add examples for series 2025-01-10 12:16:32 +01:00
zoriya 4a9a768488 Add demmy season controller 2025-01-10 12:16:32 +01:00
zoriya 0b0ae9abd3 Add season model 2025-01-10 12:16:32 +01:00
zoriya ed19413576 Remove serieId & seasonId from entry response 2025-01-10 12:16:32 +01:00
zoriya 34e145ab23 Add seasons in db 2025-01-10 12:16:31 +01:00
zoriya ffa42de4f3 Cleanup external id types in db 2025-01-10 12:16:31 +01:00
zoriya 84ce544f4d Add extra types (from #463). No backing store for now 2025-01-10 12:16:31 +01:00
zoriya 29d11720a5 Add entries dummy controller & fix entries types 2025-01-10 12:16:31 +01:00
zoriya 7071e07ef4 Define schema for all entries type 2025-01-10 12:16:31 +01:00
zoriya eb2d2009f7 Movie utils models to directory 2025-01-10 12:16:31 +01:00
zoriya c5a502ec32 Add serie model, dummy controller & example 2025-01-10 12:16:31 +01:00
zoriya 89952185a9 Cleanup video schema & add descrpitions of api fields 2025-01-10 12:16:31 +01:00
zoriya 039c19f61c Create dummy video controller 2025-01-10 12:16:31 +01:00
zoriya 372c1f6875 Cleanup example registration & add descriptions 2025-01-10 12:16:31 +01:00
zoriya 3f97ba729d Fix entries fk and manually fix migrations 2025-01-10 12:16:31 +01:00
zoriya 143ac6c721 Regenerate migrations 2025-01-10 12:16:31 +01:00
zoriya 0759d6c2c4 Update schema for new drizzle version and fix some config issue 2025-01-10 12:16:31 +01:00
zoriya e2e04b88f4 Upgrade packages 2025-01-10 12:16:31 +01:00
zoriya d3fc3894bc Manually fix migrations and startup 2025-01-10 12:16:31 +01:00
zoriya 8d01a87b6c wip: Add movie/video example 2025-01-10 12:16:31 +01:00
zoriya a37c4fe723 Fix subquery handling of translations 2025-01-10 12:16:31 +01:00
zoriya 78e84cf960 Use string for date & datetime 2025-01-10 12:16:31 +01:00
zoriya 4f74ffc5ce Add video migration & runtime field on shows 2025-01-10 12:16:31 +01:00
zoriya f53e8e3611 Store image id instead of low/middle/high uri 2025-01-10 12:16:31 +01:00
zoriya 00774230af Add video model 2025-01-10 12:16:31 +01:00