import { watchPress } from "@/lib/library/presses.mjs"; import { ask, press } from "@/lib/library/route"; export const dynamic = "force-dynamic"; // POST { lib, topic, on, intervalMinutes?, hours?, shots? } -> the editor's { ok, topic, watch, sentence } // // THE POSTS LIBRARY PAGE'S WATCH SWITCH (lane posts-library): the editor's // `watch-trending` for one topic, as the OPERATOR (so it is the press that // restarts a watch paused as failing). umtool reads no page of X: the editor's // own scan starts each read, on X's queue, under the watch's jar rule. export async function POST(request: Request) { return press(request, (body) => watchPress(ask, body)); }