arvo-core
Version:
This core package contains all the core classes and components of the Arvo Event Driven System
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;