Environment variable parser and validator for Trigger.dev server configuration.
// 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 { MachinePresetName } from "@trigger.dev/core/v3";
import {
parseNaturalLanguageDurationInMs,
webhookDeliveryRetentionClass,
} from "@trigger.dev/core/v3/isomorphic";
import { BoolEnv } from "./utils/boolEnv";
import { OidcIssuerSchema } from "./utils/oidcIssuer";
import { isValidDatabaseUrl } from "./utils/db";
import { parseDeployBaseImages } from "~/v3/deployBaseImages.server";
import { parseRunOpsShards, validateShardListAgainstNewUrl } from "~/v3/runOpsShards.server";
import { isValidRegex } from "./utils/regex";
import { isValidCronExpre
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key