Return deleted paths in DELETE /videos

This commit is contained in:
2025-05-04 15:35:07 +02:00
parent 4df171386b
commit a96813fe30
3 changed files with 48 additions and 39 deletions

View File

@@ -1,4 +1,4 @@
import { type Column, type SQL, and, eq, isNull, sql } from "drizzle-orm";
import { type Column, type SQL, eq, sql } from "drizzle-orm";
import { db } from "~/db";
import {
entries,
@@ -6,7 +6,7 @@ import {
entryVideoJoin,
videos,
} from "~/db/schema";
import { conflictUpdateAllExcept, sqlarr, values } from "~/db/utils";
import { conflictUpdateAllExcept, values } from "~/db/utils";
import type { SeedEntry as SEntry, SeedExtra as SExtra } from "~/models/entry";
import { enqueueOptImage } from "../images";
import { guessNextRefresh } from "../refresh";