Zod schemas and TypeScript types for batch items, metadata, and failures in the run engine.
// Source: https://github.com/triggerdotdev/trigger.dev | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import { z } from "zod";
import { RuntimeEnvironmentType } from "@trigger.dev/database";
import type { Logger, LogLevel } from "@trigger.dev/core/logger";
import type { GlobalRateLimiter } from "@trigger.dev/redis-worker";
import type { Meter, Tracer } from "@internal/tracing";
import type { RedisOptions } from "@internal/redis";
// ============================================================================
// Batch Item Schemas
// ============================================================================
/**
* A single item in a batch trigger request.
* Kept permissive t
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key