refactor: Replace generic AnilistDurableObject fetch endpoint with dedicated methods and update their usage.

This commit is contained in:
2025-11-29 06:22:08 -05:00
parent b1e46ad6eb
commit 25f5f80696
13 changed files with 869 additions and 655 deletions

View File

@@ -2,7 +2,7 @@ main = "src/index.ts"
name = "aniplay-v2"
compatibility_flags = ["nodejs_compat"]
compatibility_date = "2024-09-23"
compatibility_date = "2025-11-28"
[vars]
TURSO_URL = "libsql://aniplay-v2-silverandroid.turso.io"
@@ -24,6 +24,14 @@ tag = "<v2>"
deleted_classes = ["AniwatchApiContainer"]
new_classes = ["AnilistDo"]
[[migrations]]
tag = "v3"
deleted_classes = ["AnilistDo"]
[[migrations]]
tag = "v4"
new_sqlite_classes = ["AnilistDo"]
[[queues.producers]]
queue = "anilist-updates"
binding = "ANILIST_UPDATES"