deterministic-trilabel
Version:
🔗 Deterministic Trilabel Generate human-readable, deterministic URLs for multi-tenant applications. Instead of random strings or UUIDs, create memorable URLs like "happy-jump-cloud" that are: ✨ Deterministic - Same input always produces the same URL 🎯
12 lines (11 loc) • 536 B
TypeScript
import { ValidationRules, SystemCapacity } from './types';
export declare const CLIENT_NAME_RULES: ValidationRules;
export declare const ROUTE_NAME_RULES: ValidationRules;
export declare function generateUrl(clientName: string, routeName: string): string;
interface LabelOptions {
exceptionKey: string;
useCompositeUrls?: boolean;
}
export declare function createLabels(options: LabelOptions): (clientName: string, routeName: string) => string;
export declare function calculatePotentialVariations(): SystemCapacity;
export {};