@clipwhisperer/common
Version:
ClipWhisperer Common - Shared library providing core utilities, database schemas, authentication, bucket management, and common functionality across all ClipWhisperer microservices
33 lines (32 loc) • 834 B
TypeScript
/**
* ID Generation Utilities
* Centralized ID generation functions used across services
*/
/**
* Generate a job ID with timestamp
*/
export declare function generateJobId(): string;
/**
* Generate a video ID with timestamp and random suffix
*/
export declare function generateVideoId(): string;
/**
* Generate a request ID with timestamp
*/
export declare function generateRequestId(): string;
/**
* Generate an audio ID with timestamp
*/
export declare function generateAudioId(): string;
/**
* Generate a generic ID with custom prefix
*/
export declare function generateId(prefix: string): string;
/**
* Generate a unique ID with timestamp and random component
*/
export declare function generateUniqueId(prefix: string): string;
/**
* Generate a session ID
*/
export declare function generateSessionId(): string;