cliMitmStartSchema (schemas/cli.ts)

OmniRoute · src/shared/validation/schemas/cli.ts · typescript · MIT
cli

Module exposing: cliMitmStartSchema, cliMitmStopSchema, cliMitmAliasUpdateSchema, cliBackupMutationSchema, envKeySchema, envValueSchema, cliSettingsEnvSchema, cliModelConfigSchema

// Source: https://github.com/diegosouzapw/OmniRoute | License: MIT | Copyright 2026 diegosouzapw
// Provided via justclaw.it.com; keep this notice with the code.
import { z } from "zod";
import {
  ACCOUNT_FALLBACK_STRATEGY_VALUES,
  ROUTING_STRATEGY_VALUES,
} from "@/shared/constants/routingStrategies";
import { SUPPORTED_BATCH_ENDPOINTS } from "@/shared/constants/batchEndpoints";
import { MAX_REQUEST_BODY_LIMIT_MB, MIN_REQUEST_BODY_LIMIT_MB } from "@/shared/constants/bodySize";
import { COMBO_CONFIG_MODES } from "@/shared/constants/comboConfigMode";
import { providerAllowsOptionalApiKey } from "@/shared/constants/providers";
import { HIDEABLE_SIDEBAR_ITEM_IDS } from "@/shared/constants/sidebarVisibility";
import { OMP_ROLE_IDS } from "@/shared/constants/ompRoles";
import {
  isForbidden

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key