nestjs-temporal-core
Version:
Complete NestJS integration for Temporal.io with auto-discovery, declarative scheduling, enhanced monitoring, and enterprise-ready features
17 lines (16 loc) • 888 B
TypeScript
import 'reflect-metadata';
export declare function validateWorkflowId(workflowId: string): void;
export declare function validateSignalName(signalName: string): void;
export declare function validateQueryName(queryName: string): void;
export declare function validateWorkflowType(workflowType: string): void;
export declare function validateActivityName(activityName: string): void;
export declare class ServiceInitializationUtils {
static safeInitialize<T>(serviceName: string, logger: {
debug: (msg: string) => void;
info: (msg: string) => void;
warn: (msg: string) => void;
error: (msg: string) => void;
}, initFunction: () => Promise<T> | T, allowFailure?: boolean): Promise<T | null>;
}
export declare function isValidCronExpression(expression: string): boolean;
export declare function isValidIntervalExpression(expression: string): boolean;