import type { ActionFunctionArgs } from "@remix-run/node"; // Inert placeholder — see the [events] section of shopify.app.toml for why // this exists at all: this org appears enrolled in Shopify's "Next // Generation Events" developer preview, which the CLI now treats as a // REQUIRED shopify.app.toml section for this app even though nothing here // actually uses it (all real webhook handling goes through the classic // webhooks.*.tsx routes). Deliberately does NOT call authenticate.webhook() // — that verifies the classic webhook HMAC scheme, and this preview // delivery mechanism may use a different one our shopify-app-remix version // doesn't yet support verifying. No real functionality depends on this // route ever actually being hit. export const action = async ({ request }: ActionFunctionArgs) => { console.log("Received Next-Gen Events preview delivery (unused placeholder)", request.url); return new Response(); };