hevy-shared 1.0.686 → 1.0.688
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/built/index.d.ts +1 -0
- package/built/utils.d.ts +1 -1
- package/built/utils.js +14 -0
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
package/built/utils.d.ts
CHANGED
|
@@ -206,7 +206,7 @@ export declare const generateUserGroup: (userId: string, numGroups: number) => R
|
|
|
206
206
|
* @returns User group value (A, B, C, etc.), or undefined if the user id is not a v4 UUID
|
|
207
207
|
* or if an error occurs.
|
|
208
208
|
*/
|
|
209
|
-
export declare const generateUserGroupValue: (userId: string, numGroups: 2 | 3) => "A" | "B" | "C" | undefined;
|
|
209
|
+
export declare const generateUserGroupValue: (userId: string, numGroups: 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10) => "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | undefined;
|
|
210
210
|
/**
|
|
211
211
|
* @example
|
|
212
212
|
* isVersionAGreaterOrEqualToVersionB('1.2.3', '1.2') // true
|
package/built/utils.js
CHANGED
|
@@ -564,6 +564,20 @@ const generateUserGroupValue = (userId, numGroups) => {
|
|
|
564
564
|
return 'B';
|
|
565
565
|
case 2:
|
|
566
566
|
return 'C';
|
|
567
|
+
case 3:
|
|
568
|
+
return 'D';
|
|
569
|
+
case 4:
|
|
570
|
+
return 'E';
|
|
571
|
+
case 5:
|
|
572
|
+
return 'F';
|
|
573
|
+
case 6:
|
|
574
|
+
return 'G';
|
|
575
|
+
case 7:
|
|
576
|
+
return 'H';
|
|
577
|
+
case 8:
|
|
578
|
+
return 'I';
|
|
579
|
+
case 9:
|
|
580
|
+
return 'J';
|
|
567
581
|
default:
|
|
568
582
|
return undefined;
|
|
569
583
|
}
|