64 Commits

Author SHA1 Message Date
Zoe Roux
1c0fdf6f89 wip 2025-01-24 22:48:03 +01:00
Zoe Roux
a8fb84daf0 Format code 2025-01-18 16:39:40 +01:00
Zoe Roux
956ab51e1b Add a flag to retrieve all translations 2025-01-17 23:16:31 +01:00
Zoe Roux
02ddd1401b Add isAvailable 2025-01-17 23:16:31 +01:00
Zoe Roux
a558f47558 Test & Fix prefer original for /movies/{id} 2025-01-17 18:49:24 +01:00
Zoe Roux
f3f69a0def Rewrite /movies/{id} to use the relational api 2025-01-17 18:49:24 +01:00
Zoe Roux
7cc6e7e2d4 Handle fallback when creating new translations 2025-01-17 18:49:24 +01:00
Zoe Roux
46570410ea
Add seed in response if it was not specified 2025-01-13 14:16:43 +01:00
Zoe Roux
8b7e109be3
Cleanup sort parsing 2025-01-13 14:16:43 +01:00
Zoe Roux
86d37514dc
Fix after handling 2025-01-13 14:16:43 +01:00
Arthur Jamet
f490faa796
v5 api: Handle random in keyset paginate 2025-01-13 14:16:43 +01:00
Arthur Jamet
67ea86a955
v5 api: Random sort query parameter cannot be reversed 2025-01-13 14:16:43 +01:00
Arthur Jamet
2afccaa813
v5 api: Random query parameter becomes sort value 2025-01-13 14:16:43 +01:00
Arthur Jamet
0e230114a7
v5 api: Sort Movies Randomly, passing seed as query parameter 2025-01-13 14:16:42 +01:00
Zoe Roux
fe6f4fd43b
Fix null sorting 2025-01-10 12:16:33 +01:00
Zoe Roux
81958f6c3b
Fix after when sorting with remmapped keys 2025-01-10 12:16:32 +01:00
Zoe Roux
6e293efc2b
Remove page's prev & weird reverse handling 2025-01-10 12:16:32 +01:00
Zoe Roux
1389abb946
Fix prev/next generation 2025-01-10 12:16:32 +01:00
Zoe Roux
641ce4237e
Use an array as a backing store for after 2025-01-10 12:16:32 +01:00
Zoe Roux
879d2959d5
Create page with next/prev url 2025-01-10 12:16:32 +01:00
Zoe Roux
50002907e3
Create keyset pagination function 2025-01-10 12:16:32 +01:00
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