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 CHANGED
@@ -1394,6 +1394,7 @@ export type PlateCalculatorBar = {
1394
1394
  title: string;
1395
1395
  weight: number;
1396
1396
  unit: WeightUnit;
1397
+ default_bar: boolean;
1397
1398
  };
1398
1399
  export type PlateCalculatorPlate = {
1399
1400
  id: number;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.686",
3
+ "version": "1.0.688",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",