UNPKG

arvo-core

Version:

The core Arvo package which provides application tier core primitives and contract system for building production-grade event-driven application. Provides ArvoEvent (CloudEvents-compliant), ArvoContract for type-safe service interfaces, event factories, O

23 lines (22 loc) 698 B
import { z } from 'zod'; /** * Schema for Arvo error objects. * * This schema defines the structure of error objects used in the Arvo system. * It uses Zod for runtime type checking and validation. */ export declare const ArvoErrorSchema: z.ZodObject<{ errorName: z.ZodString; errorMessage: z.ZodString; errorStack: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { errorName: string; errorMessage: string; errorStack: string | null; }, { errorName: string; errorMessage: string; errorStack: string | null; }>; export declare const ArvoSemanticVersionSchema: z.ZodString; export declare const isValidArvoSemanticVersion: (version: string) => boolean;