Commit Graph

231 Commits

Author SHA1 Message Date
Zoe Roux 97a9a406bb Format stuff 2025-03-02 23:50:15 +01:00
Zoe Roux adaa892a26 Add GET /studios/:id/shows 2025-03-02 23:47:02 +01:00
Zoe Roux 2301e48321 Use db metadata on entries 2025-03-02 23:47:02 +01:00
Zoe Roux 710675180c Add studio insert method 2025-03-02 23:47:02 +01:00
Zoe Roux 1cc26c5985 Fix typescript compilation 2025-03-02 23:47:02 +01:00
Zoe Roux 31d95d7fd7 Add studio migration 2025-03-02 23:47:02 +01:00
Zoe Roux 12faca5fb5 Add db-metadata type helper 2025-03-02 23:47:01 +01:00
Zoe Roux e32c83180e Add studio type 2025-03-02 23:46:24 +01:00
Zoe Roux 648fb6825a Fix test 2025-03-02 19:46:28 +01:00
Zoe Roux 4f73e76a34 Add /collections/:id/shows 2025-03-02 19:44:45 +01:00
Zoe Roux 68d4958e3a Add /shows & /shows/random routes 2025-03-02 19:44:45 +01:00
Zoe Roux 9f974de245 Add /collections/:id/series & /collections/:id/movies 2025-03-02 19:09:28 +01:00
Zoe Roux d53947265f Add basic collection routes 2025-03-02 19:09:28 +01:00
Zoe Roux 662400da13 Add GET /series/{id} (based on movie's get) 2025-03-02 18:53:31 +01:00
Zoe Roux f143511e14 Add /series/random 2025-03-02 18:12:29 +01:00
Zoe Roux cc221c560d Add GET /series (using the same logic as /movies) 2025-03-02 18:09:25 +01:00
Zoe Roux 24f44de7c0 Move movie controller to shows subdir 2025-03-02 17:39:49 +01:00
Zoe Roux 019be569dd Format stuff 2025-03-02 17:31:16 +01:00
Zoe Roux 98c6263036 Add basic collection test 2025-03-02 17:31:16 +01:00
Zoe Roux 4538d9ce98 Add collection example 2025-03-02 17:28:38 +01:00
Zoe Roux e8c9dfce56 Create insert method 2025-03-02 17:28:38 +01:00
Zoe Roux fc9afa5ede Allow collections to be created with movies or series 2025-03-02 17:28:38 +01:00
Zoe Roux dbfe836ce3 Add collection type in database 2025-03-02 17:28:38 +01:00
Zoe Roux 5535507469 Rework collection relation on db schema 2025-03-02 17:28:38 +01:00
Zoe Roux 01183df4e9 Define collection type 2025-03-02 00:19:32 +01:00
Zoe Roux 43465834c3 Specify languages when needed 2025-03-01 23:48:21 +01:00
Zoe Roux 0a1ca61dfb Fix typescript compilation 2025-03-01 23:48:21 +01:00
Zoe Roux 6402b3cae6 Add unknown video example 2025-03-01 23:48:21 +01:00
Zoe Roux c96365fe0a Fix race condition with movies test 2025-03-01 23:48:21 +01:00
Zoe Roux 84d9ccb8bb Test extras 2025-03-01 23:48:21 +01:00
Zoe Roux 655f677e91 Format stuff 2025-03-01 23:48:21 +01:00
Zoe Roux 5483e34c5e Fix season get 2025-03-01 23:48:21 +01:00
Zoe Roux b5460682c9 Test get seasons 2025-03-01 23:48:21 +01:00
Zoe Roux 6a30173628 Fix poster creation of movie entries 2025-03-01 23:48:21 +01:00
Zoe Roux 9aa7815f57 Use integer instead of numbers where it make sense 2025-03-01 23:48:21 +01:00
Zoe Roux 4ee6493eb8 Fix 404 handling for entries 2025-03-01 23:48:21 +01:00
Zoe Roux fb7635ef56 Cleanup swagger & add examples for entries 2025-03-01 23:48:21 +01:00
Zoe Roux 5e0ba7f630 Fix path params making items not appear in swagger 2025-03-01 23:48:21 +01:00
Zoe Roux caeef0417c Use baseline's elysia/swagger instead of fork now that it works 2025-03-01 23:48:21 +01:00
Zoe Roux b70f66960d wip 2025-03-01 23:48:21 +01:00
Zoe Roux 89914f6c95 Format stuff 2025-03-01 23:48:21 +01:00
Zoe Roux 1476505262 Add /unknowns route 2025-03-01 23:48:21 +01:00
Zoe Roux 29696c378a Add /series/:id/extras route 2025-03-01 23:48:21 +01:00
Zoe Roux a5483b4ca1 Fix typing & extra handling when fetching entries from db 2025-03-01 23:48:21 +01:00
Zoe Roux c70e11d36a Prettify entry types 2025-03-01 23:48:21 +01:00
Zoe Roux c730d47cd9 Add entries controller 2025-03-01 23:48:21 +01:00
Zoe Roux 9b526461c6 Fix pg_trgm word similarly threshold even for the first session 2025-02-22 19:30:19 +01:00
Zoe Roux 1bca9f47dd Update elysia again (fix regression) 2025-02-22 19:30:19 +01:00
Zoe Roux 3f09ca93a3 Pin drizzle to 0.39.0 due to https://github.com/drizzle-team/drizzle-orm/issues/4060 2025-02-22 19:30:19 +01:00
Zoe Roux a370048a12 Update elysia and remove workaround 2025-02-22 19:30:19 +01:00