Skip to content

Commit

Permalink
added a convenience type
Browse files Browse the repository at this point in the history
  • Loading branch information
WhyAsh5114 committed Dec 26, 2023
1 parent b1f36cb commit a3bcffc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/types/arrays.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type { ObjectId } from "bson";

export const muscleGroups: typeof MuscleGroups = [
"Chest",
"Front delts",
Expand All @@ -14,6 +16,8 @@ export const muscleGroups: typeof MuscleGroups = [
"Calves"
] as const;

export type WithUserId<T> = T & { userId: ObjectId };

export const caloricStates: typeof CaloricStates = [
{
name: "Hypo-caloric",
Expand Down

0 comments on commit a3bcffc

Please sign in to comment.