Tento job query

Tento represents Shopify Job query

import { tento } from "@drizzle-team/tento";
import * as schema from "./schema";

const client = tento({ schema });

const result = await client.jobs.get("gid://shopify/Job/1");
// return type
const result: {
  id: string;
  done: boolean;
}


Also if you work with Bulk Delete for Metaobjects, Tento return ShopifyJobOperation instance what give you ability to check current job status and method to update the job status. You can find it here.