export const ISSUE_CODES = { INVALID_TYPE: "invalid_type", REQUIRED: "required", UNKNOWN_KEY: "unknown_key", TOO_SMALL: "too_small", TOO_LARGE: "too_large", INVALID_STRING: "invalid_string", INVALID_NUMBER: "invalid_number", INVALID_LITERAL: "invalid_literal", INVALID_UNION: "invalid_union", CUSTOM_VALIDATION_NOT_PORTABLE: "custom_validation_not_portable", UNSUPPORTED_EXTENSION: "unsupported_extension", UNSUPPORTED_SCHEMA_KIND: "unsupported_schema_kind", COERCION_FAILED: "coercion_failed", DEFAULT_INVALID: "default_invalid", TOO_DEEP: "too_deep", } as const; export type IssueCode = (typeof ISSUE_CODES)[keyof typeof ISSUE_CODES];