# NOTE: hand-written (shopify app generate extension needs an interactive # Partner login unavailable in this environment — see README.md). This # mirrors Shopify's documented structure for a JS Cart/Checkout Validation # Function as closely as possible from training knowledge, but has not been # validated against a live `shopify app function schema` pull. Before # deploying: run `shopify app function schema` in this directory to fetch # the authoritative schema.graphql for your app's API version, confirm # src/run.graphql still matches it, and fix up anything that's drifted. api_version = "2025-01" [[extensions]] name = "Delivery Slot Validation" handle = "validation-slot" type = "function" [[extensions.targeting]] target = "purchase.validation.run" input_query = "src/run.graphql" export = "cartCheckoutValidationRun" [extensions.build] command = "" path = "dist/function.wasm" [extensions.build.watch] paths = ["src/**/*.js"]