UNPKG

arvo-core

Version:

This core package contains all the core classes and components of the Arvo Event Driven System

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;