uniqueid.d.ts
1 /** 2 * Calculates the construct uid based on path components. 3 * 4 * Components named `Default` (case sensitive) are excluded from uid calculation 5 * to allow tree refactorings. 6 * 7 * @param components path components 8 */ 9 export declare function addressOf(components: string[]): string; 10 /** 11 * Calculates a unique ID for a set of textual components. 12 * 13 * This is done by calculating a hash on the full path and using it as a suffix 14 * of a length-limited "human" rendition of the path components. 15 * 16 * @param components The path components 17 * @returns a unique alpha-numeric identifier with a maximum length of 255 18 */ 19 export declare function makeLegacyUniqueId(components: string[]): string;