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
15 lines (14 loc) • 631 B
TypeScript
import type { ArvoSemanticVersion } from '../types';
/**
* Special semantic version used as a wildcard matcher.
* Represents version '0.0.0' which is reserved for system use.
*/
export declare const WildCardArvoSemanticVersion: ArvoSemanticVersion & '0.0.0';
/**
* Checks if a version is the special wildcard version.
* Validates that the input is both a valid semantic version and matches the wildcard value.
*
* @param version - Semantic version to check
* @returns True if version is the wildcard version, false otherwise
*/
export declare const isWildCardArvoSematicVersion: (version: ArvoSemanticVersion) => boolean;